メインコンテンツへスキップ
GET
/
v2
/
blockchain
/
{chain}
/
latest_block
ブロックチェーン - 最新ブロック
curl --request GET \
  --url https://api.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