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