---
title: "Get receipts"
method: GET
path: "/receipts"
tags: ["Chain Data"]
---

# Get receipts

`GET /receipts`

Retrieve receipts for the given transaction(s). Corresponds to the <a href="/chifra/chaindata/#chifra-receipts">chifra receipts</a> command line.

## Query parameters

- `transactions` string[], required
- `articulate` boolean
- `chain` string
- `noHeader` boolean
- `cache` boolean
- `decache` boolean
- `fmt` string

## Response `200`

returns the requested data

- object
  - `data` union[] — Produces <a href="/data-model/other/#function">Function</a>, <a href="/data-model/other/#parameter">Parameter</a> or <a href="/data-model/chaindata/#receipt">Receipt</a> data. Corresponds to the <a href="/chifra/chaindata/#chifra-receipts">chifra receipts</a> command line.
    - union
      - Function — a human-readable representation of a Solidity function call or event
        - `name` string, string — the name of the interface
        - `type` string, string — the type of the interface, either 'event' or 'function'
        - `signature` string, string — the canonical signature of the interface
        - `encoding` string, string — the signature encoded with keccak
        - `inputs` Parameter[] — the input parameters to the function, if any
          - `type` string, string — the type of this parameter
          - `name` string, string — the name of this parameter
          - `strDefault` string, string — the default value of this parameter, if any
          - `indexed` boolean — `true` if this parameter is indexed
          - `internalType` string, string — for composite types, the internal type of the parameter
          - `components` Parameter[] — for composite types, the parameters making up the composite
        - `outputs` Parameter[] — the output parameters to the function, if any
          - `type` string, string — the type of this parameter
          - `name` string, string — the name of this parameter
          - `strDefault` string, string — the default value of this parameter, if any
          - `indexed` boolean — `true` if this parameter is indexed
          - `internalType` string, string — for composite types, the internal type of the parameter
          - `components` Parameter[] — for composite types, the parameters making up the composite
      - Parameter — an input or output parameter to a Solidity function or event
        - `type` string, string — the type of this parameter
        - `name` string, string — the name of this parameter
        - `strDefault` string, string — the default value of this parameter, if any
        - `indexed` boolean — `true` if this parameter is indexed
        - `internalType` string, string — for composite types, the internal type of the parameter
        - `components` Parameter[] — for composite types, the parameters making up the composite
      - Receipt — receipt data as returned from the RPC (with slight enhancements)
        - `blockHash` string, hash
        - `blockNumber` number
        - `contractAddress` string, address — the address of the newly created contract, if any
        - `gasUsed` number — the amount of gas actually used by the transaction
        - `isError` boolean
        - `logs` Log[] — a possibly empty array of logs
          - `blockNumber` number — the number of the block
          - `transactionIndex` number — the zero-indexed position of the transaction in the block
          - `logIndex` number — the zero-indexed position of this log relative to the block
          - `timestamp` number — the timestamp of the block this log appears in
          - `date` string, datetime — the timestamp as a date (calculated)
          - `address` string, address — the smart contract that emitted this log
          - `topics` Topic[] — first topic event signature up to 3 additional index parameters may appear
          - `data` string, bytes — any remaining un-indexed parameters to the event
          - `transactionHash` string, hash — the hash of the transction
          - `blockHash` string, hash — the hash of the block
          - `articulatedLog` object — a human-readable version of the topic and data fields
          - `compressedLog` string, string — a truncated, more readable version of the articulation (calculated)
          - `isNFT` boolean — true if the log is an NFT transfer (calculated)
        - `status` number — `1` on transaction suceess, `null` if tx precedes Byzantium, `0` otherwise
        - `transactionHash` string, hash
        - `transactionIndex` number

## Other responses

- `400` — bad input parameter

---

[API](https://skmtc.net/trueblocks/apis/trueblocks-api.md) · [All operations](https://skmtc.net/trueblocks/apis/trueblocks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trueblocks/trueblocks-api/versions/2a176f1485a9/schema)
