ドキュメント
料金GitHubダッシュボード

TRON

wallet/getblockbylimitnext25クレジット

Returns the blocks of a height range (startNum inclusive, endNum exclusive, at most 100 blocks).

ネットワーク: tron

パラメータ

名前型説明
startNumnumberFirst block height (inclusive).
endNumnumberLast block height (exclusive); the range may cover at most 100 blocks.

戻り値

型

Object

Object with a block array of block objects (blockID, block_header, transactions) in ascending height order; {} when the request is out of range.

コード例

curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/getblockbylimitnext' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "startNum": 1,
  "endNum": 3
}'