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

授权

Authorization
string
header
必填

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

路径参数

chain
enum<string>
必填

支持网络列表中的链名称 Supported blockchain chains

可用选项:
sol,
eth,
bsc

响应

200 - application/json

成功响应

blockhash
string
必填
示例:

"123"

lastValidBlockHeight
integer<int64>
必填
示例:

123