POST
/
95e61622bf6a8af293978377718e3b77
/
walletsolidity
/
getblockbylimitnext
walletsolidity/getblockbylimitnext
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/getblockbylimitnext \
  --header 'Content-Type: application/json' \
  --data '{
  "startNum": 70000000,
  "endNum": 70000010
}'
{
  "block": [
    {
      "blockID": "<string>",
      "block_header": {
        "raw_data": {
          "number": 123,
          "timestamp": 123,
          "parentHash": "<string>",
          "witness_address": "<string>"
        },
        "witness_signature": "<string>"
      },
      "transactions": [
        {}
      ],
      "blockSize": 123
    }
  ]
}
TRON API method that retrieves a range of solidified blocks by specifying start block number and limit. This method queries confirmed and finalized blockchain state, providing reliable block information that cannot be rolled back.
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
  • endNum — the ending block number (range limit)

Response

Returns an array of block objects, each containing:
  • blockID — the block hash
  • block_header — block header information
  • transactions — array of transactions in each block
  • blockSize — size of each block in bytes
  • timestamp — block creation timestamps
  • number — block numbers in the range

Use case

The walletsolidity/getblockbylimitnext method is used for:
  • Retrieving multiple confirmed blocks in sequence from solidified blockchain state
  • Batch processing finalized block data for analysis
  • Building blockchain explorers with paginated, reliable block data
  • Implementing applications that require sequential confirmed block information

Body

application/json

Response

200 - application/json

Array of solidified blocks in the specified range

The response is of type object.