跳转到主要内容
GET
/
v2
/
blockchain
/
{chain}
/
latest_block
Blockchain - Latest Block
curl --request GET \
  --url https://api.chainstream.io/v2/blockchain/{chain}/latest_block \
  --header 'Authorization: Bearer <token>'
{
  "blockhash": "123",
  "lastValidBlockHeight": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

chain
enum<string>
必填

A chain name listed in supported networks Supported blockchain chains

可用选项:
sol,
eth,
bsc

响应

200 - application/json

Successful response

blockhash
string
必填

Latest block hash

示例:

"123"

lastValidBlockHeight
integer<int64>
必填

Last valid block height

示例:

123