> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# wallet/getblockbylimitnext | TRON

> TRON API method that retrieves a range of blocks from the TRON blockchain starting from a specific block number with a specified limit.

TRON API method that retrieves a range of blocks from the TRON blockchain starting from a specific block number with a specified limit.

## 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


## OpenAPI

````yaml openapi/tron_node_api/getblockbylimitnext.json post /95e61622bf6a8af293978377718e3b77/wallet/getblockbylimitnext
openapi: 3.0.0
info:
  title: wallet/getblockbylimitnext TRON API
  version: 1.0.0
  description: Get blocks within a specified range
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/getblockbylimitnext:
    post:
      tags:
        - Blockchain Info
      summary: wallet/getblockbylimitnext
      operationId: getBlockByLimitNext
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - startNum
                - endNum
              properties:
                startNum:
                  type: integer
                  default: 66677870
                endNum:
                  type: integer
                  default: 66677880
                visible:
                  type: boolean
                  default: true
      responses:
        '200':
          description: Blocks within specified range
          content:
            application/json:
              schema:
                type: object
                properties:
                  block:
                    type: array
                    items:
                      type: object
                      properties:
                        blockID:
                          type: string
                        block_header:
                          type: object
                        transactions:
                          type: array
                          items:
                            type: object

````