POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
getblockbylimitnext
wallet/getblockbylimitnext
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbylimitnext \
  --header 'Content-Type: application/json' \
  --data '{
  "startNum": 66677870,
  "endNum": 66677880,
  "visible": true
}'
{
  "block": [
    {
      "blockID": "<string>",
      "block_header": {},
      "transactions": [
        {}
      ]
    }
  ]
}
TRON API method that retrieves a range of blocks from the TRON blockchain starting from a specific block number with a specified limit.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • startNum — the starting block number to retrieve from
  • endNum — the ending block number (range limit)
  • visible — optional boolean parameter. When set to true, addresses are in base58 format. Default is false.

Response

  • block — array of block objects within the specified range, each containing:
    • blockID — the block hash
    • block_header — block header with raw data and witness signature
    • transactions — array of transactions in each block

Use case

The wallet/getblockbylimitnext method is used for:
  • Retrieving specific ranges of blocks for analysis
  • Building paginated block explorers
  • Analyzing blockchain activity within specific time periods
  • Creating historical data analysis tools
  • Implementing efficient block synchronization mechanisms

Body

application/json

Response

200 - application/json

Blocks within specified range

The response is of type object.