获取特定区块链的最新区块信息
cURL
curl --request GET \ --url https://api.chainstream.io/v2/blockchain/{chain}/latest_block \ --header 'Authorization: Bearer <token>'
{ "blockhash": "123", "lastValidBlockHeight": 123 }
Documentation IndexFetch the complete documentation index at: https://docs.chainstream.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
支持网络列表中的链名称 支持的区块链
sol
eth
bsc
成功响应
最新区块哈希
"123"
最新有效区块高度
123
此页面对您有帮助吗?