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

> Tempo API method that returns the receipt of a transaction by transaction hash. Transaction receipts contain information about the execution of a transaction.

Tempo API method that returns the receipt of a transaction by transaction hash. Transaction receipts contain information about the execution of a transaction.

<Info>
  **Tempo-specific fields**: Transaction receipts on Tempo include additional fields:

  * `feeToken` — the TIP-20 token address used to pay transaction fees
  * `feePayer` — the address that paid the fees (may differ from sender with fee sponsorship)
</Info>

## Parameters

* `transactionHash` — the hash of the transaction to retrieve the receipt for

## Response

* `result` — a receipt object, or `null` if no receipt was found:
  * `transactionHash` — the transaction hash
  * `blockHash` — hash of the block containing this transaction
  * `blockNumber` — block number containing this transaction
  * `from` — address of the sender
  * `to` — address of the receiver
  * `status` — `1` for success, `0` for failure
  * `gasUsed` — amount of gas used
  * `logs` — array of log objects
  * `feeToken` — TIP-20 token address used for fees (Tempo-specific)
  * `feePayer` — address that paid the fees (Tempo-specific)

## `eth_getTransactionReceipt` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const ethers = require('ethers');
  const NODE_URL = "CHAINSTACK_NODE_URL";
  const provider = new ethers.JsonRpcProvider(NODE_URL);

  const getReceipt = async () => {
      const receipt = await provider.getTransactionReceipt("0xb3e821e696897b02283b7b2d602941b1d3cb08448d3a204bab05955215fc2035");
      console.log(receipt);
    };

  getReceipt();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"

  web3 = Web3(Web3.HTTPProvider(node_url))
  receipt = web3.eth.get_transaction_receipt("0xb3e821e696897b02283b7b2d602941b1d3cb08448d3a204bab05955215fc2035")
  print(receipt)
  # Access Tempo-specific fields
  print(f"Fee token: {receipt.get('feeToken')}")
  print(f"Fee payer: {receipt.get('feePayer')}")
  ```

  ```bash cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0xb3e821e696897b02283b7b2d602941b1d3cb08448d3a204bab05955215fc2035"], "id": 1}'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/tempo_node_api/transaction_info/eth_getTransactionReceipt.json POST /
openapi: 3.0.0
info:
  title: eth_getTransactionReceipt Tempo example
  version: 1.0.0
  description: >-
    This is an API example for eth_getTransactionReceipt for Tempo. Tempo
    receipts include additional fields: feeToken and feePayer.
servers:
  - url: https://tempo-mainnet.core.chainstack.com/c3ce2925b51f1ed18719fe8a23bbdccf
security: []
paths:
  /:
    post:
      tags:
        - Transaction info
      summary: eth_getTransactionReceipt
      description: >-
        Returns the receipt of a transaction. Tempo receipts include additional
        fields: feeToken (the TIP-20 token used for fees) and feePayer (the
        address that paid fees).
      operationId: tempo-eth-getTransactionReceipt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getTransactionReceipt
                params:
                  type: array
                  items: {}
                  default:
                    - >-
                      0xb3e821e696897b02283b7b2d602941b1d3cb08448d3a204bab05955215fc2035
                  description: Transaction hash
                id:
                  type: integer
                  default: 1
      responses:
        '200':
          description: The transaction receipt with Tempo-specific fields
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    nullable: true
                    description: >-
                      Receipt object with feeToken and feePayer fields, or null
                      if not found

````