Get the latest block information for a specific blockchain
cURL
curl --request GET \ --url https://api.dex.chainstream.io/v2/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 Supported blockchain chains
sol
eth
bsc
Successful response
"123"
123
Was this page helpful?