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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/base-getblockreceipts",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# eth_getBlockReceipts | Base

Base API method `eth_getBlockReceipts` retrieves all transaction receipts for a specified block. This method enables applications to access detailed information about every transaction within a block, including outcomes, gas used, and event logs.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `blockIdentifier` — a string that specifies the block number in hexadecimal format or one of the strings `"earliest"`, `"latest"`, or `"pending"`, indicating which block's receipts to retrieve. For instance, using `"latest"` fetches the receipts for the most recent block.

## Response

* `result` — an array of objects, each representing a transaction receipt within the specified block. Key fields in each receipt include:
  * `transactionHash` — the hash of the transaction.
  * `transactionIndex` — the transaction's index position within the block.
  * `blockHash` — the hash of the block containing the transaction.
  * `blockNumber` — the number of the block containing the transaction.
  * `from` — the address of the sender.
  * `to` — the address of the receiver (`null` for contract creation transactions).
  * `cumulativeGasUsed` — the total amount of gas used in the block up until this transaction.
  * `gasUsed` — the amount of gas used by this transaction.
  * `contractAddress` — the contract address created by the transaction, if any.
  * `logs` — an array of log objects generated by the transaction.
  * `status` — the status of the transaction (`0x1` for success, `0x0` for failure).

## Use case

The `eth_getBlockReceipts` method is crucial for applications requiring comprehensive transactional data from a block, such as:

* Analyzing gas consumption and efficiency across transactions.
* Monitoring smart contract interactions and logging for decentralized applications (DApps).
* Verifying transaction execution outcomes for auditing and security analysis.

This method offers a granular view of block transactions, facilitating detailed analysis and monitoring of transaction outcomes, gas usage, and smart contract events on the Base blockchain.


## OpenAPI

````yaml /openapi/base_node_api/eth_getBlockReceipts.json POST /2fc1de7f08c0465f6a28e3c355e0cb14
openapi: 3.0.0
info:
  title: eth_getBlockReceipts example
  version: 1.0.0
  description: >-
    This is an API example for eth_getBlockReceipts, a method to retrieve all
    transaction receipts in a  specified block.
servers:
  - url: https://base-mainnet.core.chainstack.com
security: []
paths:
  /2fc1de7f08c0465f6a28e3c355e0cb14:
    post:
      tags:
        - Ethereum Operations
      summary: eth_getBlockReceipts
      operationId: getBlockReceipts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getBlockReceipts
                id:
                  type: integer
                  default: 1
                params:
                  type: array
                  items:
                    anyOf:
                      - type: string
                        default: latest
                  default:
                    - latest
      responses:
        '200':
          description: The transaction receipts of the block
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        transactionHash:
                          type: string
                        transactionIndex:
                          type: integer
                        blockHash:
                          type: string
                        blockNumber:
                          type: integer
                        from:
                          type: string
                        to:
                          type: string
                        cumulativeGasUsed:
                          type: integer
                        gasUsed:
                          type: integer
                        contractAddress:
                          type: string
                        logs:
                          type: array
                          items:
                            type: object
                            properties:
                              removed:
                                type: boolean
                              logIndex:
                                type: integer
                              transactionIndex:
                                type: integer
                              transactionHash:
                                type: string
                              blockHash:
                                type: string
                              blockNumber:
                                type: integer
                              address:
                                type: string
                              data:
                                type: string
                              topics:
                                type: array
                                items:
                                  type: string
                        status:
                          type: string

````