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

> Monad API method that returns the receipt of a transaction by transaction hash. eth_getTransactionReceipt on Monad via Chainstack.

Monad API method that returns the receipt of a transaction by transaction hash. Transaction receipts contain information about the execution of a transaction, including gas used, logs emitted, and status.

## Parameters

* `data` — the 32-byte hash of the transaction.

## Response

* `result` — the transaction receipt object, or `null` when no receipt was found:
  * `transactionHash` — hash of the transaction
  * `transactionIndex` — integer of the transaction's index position
  * `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 when this transaction was executed
  * `gasUsed` — gas used by this specific transaction
  * `contractAddress` — address of the created contract (if any)
  * `logs` — array of log objects
  * `logsBloom` — bloom filter for light clients
  * `status` — `1` (success) or `0` (failure)

## `eth_getTransactionReceipt` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const { ethers } = require("ethers");

  const provider = new ethers.JsonRpcProvider("CHAINSTACK_NODE_URL");

  async function getReceipt() {
    const txHash = "0xffc7cdc354942338ee028ab1c54ef395b908d6e062ef57821e2869ef37945221";
    const receipt = await provider.getTransactionReceipt(txHash);
    console.log(receipt);
  }

  getReceipt();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"

  web3 = Web3(Web3.HTTPProvider(node_url))
  tx_hash = "0xffc7cdc354942338ee028ab1c54ef395b908d6e062ef57821e2869ef37945221"
  receipt = web3.eth.get_transaction_receipt(tx_hash)
  print(receipt)
  ```
</CodeGroup>

## Use case

A practical use case for `eth_getTransactionReceipt` is verifying transaction success and extracting event logs emitted during execution.


## OpenAPI

````yaml openapi/monad_node_api/transaction_info/eth_getTransactionReceipt.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_getTransactionReceipt
      operationId: eth_getTransactionReceipt
      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_getTransactionReceipt
                params:
                  type: array
                  items:
                    type: string
                  default:
                    - >-
                      0xffc7cdc354942338ee028ab1c54ef395b908d6e062ef57821e2869ef37945221
      responses:
        '200':
          description: The transaction receipt.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    nullable: true

````