> ## Documentation Index
> Fetch the complete documentation index at: https://chainstack-docs-polygon-erigon-trace-deprecation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getBlockByNumber | Ronin

> Ronin API method that returns information about a specific block in the blockchain by its number. Available on Ronin via Chainstack.

Ronin API method that returns information about a specific block in the blockchain by its number. The block number is a sequential identifier for each block in the blockchain.

## Parameters

* `blockNumber` — the number of the block. It can be a hexadecimal value or a predefined tag such as `latest`, `earliest`, or `pending`.
* `fullTransactionObjects` — if set to `true`, returns the full transaction objects; if `false`, only the hashes of the transactions.

## Response

* `result` — an object containing information about the block, such as the block number (`number`), the hash of the block (`hash`), the hash of the parent block (`parentHash`), and, depending on the `fullTransactionObjects` parameter, either a list of transaction hashes or a list of transaction objects.

## Use case

The `eth_getBlockByNumber` method is useful for applications that need to retrieve information about blocks at specific points in the blockchain. For instance, a financial application might use this method to analyze transactions within a particular block to audit or reconcile financial records.


## OpenAPI

````yaml openapi/ronin_node_api/eth_getBlockByNumber.json POST /3997273fc956a67dc6982384500e669e
openapi: 3.0.0
info:
  title: eth_getBlockByNumber
  version: 1.0.0
  description: Returns information about a block by block number.
servers:
  - url: https://ronin-mainnet.core.chainstack.com
security: []
paths:
  /3997273fc956a67dc6982384500e669e:
    post:
      tags:
        - blockchain
      summary: Get block information by number
      operationId: getBlockByNumber
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getBlockByNumber
                params:
                  type: array
                  default:
                    - latest
                    - true
                  items:
                    type: string
      responses:
        '200':
          description: Details of the block with the given number
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````