메인 콘텐츠로 건너뛰기
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