Fuel Transaction Outputs

Fetch transaction outputs for blocks 7075000 to 7085000 owned by address 0xb781a416c8fc7feaa816a4608fe146d597d72528074b6e45ec2058cb7be75880 which were unspent at block 7085000.

curl -s --location --request GET \
    "https://app.pangea.foundation/v1/api/transactions/outputs?chains=FUEL&from_block=7075000&to_block=7085000&address__in=0xb781a416c8fc7feaa816a4608fe146d597d72528074b6e45ec2058cb7be75880" \
    --header "Accept: application/jsonstream" \
    --header "Accept-Encoding: gzip" --compressed \
    --header "Authorization: Basic $PANGEA_AUTH" | jq

Response

[
...
  {
    "chain": 9889,
    "block_number": 7084148,
    "block_hash": "0x7d4270de2da6f87837e475feb386f8bd08e61c16b551ea98ef1cc6168bebb6fb",
    "transaction_hash": "0xda4a325900f7b634a8671da819c9a0b6c96521f214e4592bfecdf664287d80b6",
    "output_type": "Change",
    "utxo_id": "0xda4a325900f7b634a8671da819c9a0b6c96521f214e4592bfecdf664287d80b60001",
    "to": "0xb781a416c8fc7feaa816a4608fe146d597d72528074b6e45ec2058cb7be75880",
    "amount": "0x1aa04b",
    "asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
    "input_index": null,
    "balance_root": null,
    "state_root": null,
    "contract_id": null
  }
]

Query Parameters

app.pangea.foundation/v1/api/transactions/outputs?chains=FUEL

  • chains: Filters the data by specific blockchain networks.
  • from_block: Filters the data by a starting block number.
  • to_block: Filters the data by an ending block number.
  • unspent_at: Filters the transaction outputs based on whether they were unspent at the given block height. Defaults to the same value as to_block.
  • address__in / contractid__in / identity__in: Filters the data by a list of addresses.