Fuel Receipts

Fetch receipts from the last 10000 blocks.

curl -s --location --request GET \
    "https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=-10000&to_block=latest" \
    --header "Accept: application/jsonstream" \
    --header "Accept-Encoding: gzip" --compressed \
    --header "Authorization: Basic $PANGEA_AUTH" | jq

Response

[
  ...
  {
    "chain": 9889,
    "block_number": "0x342c7f",
    "block_hash": "0xde4c50943696328d696c69636d3be33c8463745f7593e5f899ff53482fb72931",
    "transaction_index": 0,
    "transaction_hash": "0xd5590054a2ace6563293446a07139360afb967688fc243af1a87587797818a9a",
    "receipt_index": "0x6",
    "receipt_type": "Return",
    "id": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "pc": 10388,
    "is": 10368,
    "val": 1
  }
]

Query Parameters

app.pangea.foundation/v1/api/receipts?chains=FUEL

  • chains: This parameter is used to filter the data by specific blockchain networks.
  • from_block: This parameter is used to filter the data by a starting block number.
  • to_block: This parameter is used to filter the data by an ending block number.
  • receipt_type__in: This parameter is used to filter the data by a list of receipt types.