Get the latest block information for a specific blockchain
cURL
curl --request GET \ --url https://api.chainstream.io/v1/blockchain/{chain}/latest_block \ --header 'Authorization: Bearer <token>'
{ "blockhash": "123", "lastValidBlockHeight": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A chain name listed in supported networks
sol
bsc
eth
Latest block hash
"123"
Last valid block height
123
Was this page helpful?