取得特定區塊鏈的最新區塊資訊
cURL
curl --request GET \ --url https://api.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>
支援網路列表中的鏈名稱 Supported blockchain chains
sol
eth
bsc
成功回應
最新區塊雜湊
"123"
最新有效區塊高度
123
這個頁面有幫助嗎?