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

# eth_getBlockReceipts | Monad

> Monad API method that returns all transaction receipts for a given block. Reference for eth_getBlockReceipts on Monad via Chainstack.

Monad API method that returns all transaction receipts for a given block. This method is more efficient than calling `eth_getTransactionReceipt` for each transaction individually when you need all receipts from a block.

## Parameters

* `quantity|tag` — the block number as a hexadecimal string, or one of the following block tags:
  * `latest` — the most recent block in the canonical chain
  * `earliest` — the genesis block
  * `pending` — the pending state/transactions

## Response

* `result` — an array of transaction receipt objects, each containing:
  * `transactionHash` — hash of the transaction
  * `transactionIndex` — index position of the transaction
  * `blockHash` — hash of the block containing this transaction
  * `blockNumber` — number of the block containing this transaction
  * `from` — address of the sender
  * `to` — address of the receiver
  * `cumulativeGasUsed` — total gas used in the block up to this transaction
  * `gasUsed` — gas used by this transaction
  * `contractAddress` — contract address created, if any
  * `logs` — array of log objects generated by this transaction
  * `logsBloom` — bloom filter for the logs
  * `status` — `1` (success) or `0` (failure)

## `eth_getBlockReceipts` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const { ethers } = require("ethers");

  const provider = new ethers.JsonRpcProvider("CHAINSTACK_NODE_URL");

  async function getBlockReceipts() {
    const blockNumber = "latest"; // Or use hex like "0x1234"
    const receipts = await provider.send("eth_getBlockReceipts", [blockNumber]);
    console.log(`Found ${receipts.length} receipts`);
    receipts.forEach((receipt, i) => {
      console.log(`Transaction ${i}: ${receipt.transactionHash}, Gas used: ${parseInt(receipt.gasUsed, 16)}`);
    });
  }

  getBlockReceipts();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"

  web3 = Web3(Web3.HTTPProvider(node_url))

  # Using raw RPC call
  receipts = web3.provider.make_request('eth_getBlockReceipts', ['latest'])
  for receipt in receipts['result']:
      print(f"Transaction: {receipt['transactionHash']}, Gas used: {int(receipt['gasUsed'], 16)}")
  ```
</CodeGroup>

## Use case

A practical use case for `eth_getBlockReceipts` is building analytics tools that need to process all transaction outcomes in a block, such as calculating total gas usage, counting successful vs. failed transactions, or extracting all events emitted in a block.


## OpenAPI

````yaml openapi/monad_node_api/transaction_info/eth_getBlockReceipts.json POST /
openapi: 3.0.0
info:
  title: Monad Node API
  version: 1.0.0
  description: This is an API for interacting with a Monad node.
servers:
  - url: https://monad-testnet.core.chainstack.com/9c5b265f20b3ea5df4f54f70eb74b800
security: []
paths:
  /:
    post:
      tags:
        - Transactions info
      summary: eth_getBlockReceipts
      operationId: eth_getBlockReceipts
      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_getBlockReceipts
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - latest
      responses:
        '200':
          description: Array of transaction receipts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object

````