Log In

get receipts - Enhanced APIs

Retrieve receipts for the given transaction(s).

This endpoint is supported on the following chains and networks:

  • Conflux: Core
  • Ethereum

Parameters

  • transactions: [string] a space-separated list of one or more transaction identifiers(required)

Returns

  • status: [int]
  • contractAddress: [string]
  • gasUsed: [int]
  • log: [string] log information
  • logIndex: [int]
  • address: [string] address hash
  • topic: [string]

Example

Request

curl --location --request GET 'https://eth-mainnet.unifra.io/v1/de06bac5217b49c3af79fd3aeb06a87b/enhanced-api/transactions?transactions=0xafd4bb47fddcdc574611e1a4e6bf6a987dcf3bef4b4c78ab71a7a5f0e0983339'

Response

{
    "data": [
        {
            "status": 1,
            "contractAddress": "0x0",
            "gasUsed": 21000
        },
        {
            "status": 1,
            "contractAddress": "0x0",
            "gasUsed": 46109,
            "logs": [
                {
                    "logIndex": 17,
                    "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "topics": [
                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                        "0x00000000000000000000000028c6c06298d514db089934071355e5743bf21d60",
                        "0x000000000000000000000000250fde76d93296a00505c316bedf6afe9566b4f8"
                    ],
                    "data": "0x0000000000000000000000000000000000000000000000000000000057f4e6eb"
                }
            ]
        }
    ]
}
Language
Click Try It! to start a request and see the response here!