This is an API implementation of an RPC call.
Returns the block count
const response = await fetch('https://strax.nownodes.io/api/BlockStore/GetBlockCount', { method: 'GET', headers: {}, }); const data = await response.json();