Fuel Transactions

Fetch transactions from the last 10000 blocks.

curl -s --location --request GET \
    "https://app.pangea.foundation/v1/api/transactions?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": "0x342cee",
    "block_hash": "0xb52adfc89b9d6e0a4ecdc5b97a7be1f7ce49f75e6136861a366e5caa04c88a97",
    "transaction_index": 0,
    "hash": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e8",
    "transaction_type": "Script",
    "policies_max_fee": 201,
    "inputs": [
      {
        "input_type": "Contract",
        "utxo_id": "0xe0fb42f12a7dd4ab809804c50742671d0832245bc3f55a2c1f15d5c3186c97090000",
        "tx_pointer_block_height": "0x342bfa",
        "tx_pointer_tx_index": 0,
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "contract_id": "0x243ef4c2301f44eecbeaf1c39fee9379664b59a2e5b75317e8c7e7f26a25ed4d"
      },
      {
        "input_type": "Contract",
        "utxo_id": "0xe0fb42f12a7dd4ab809804c50742671d0832245bc3f55a2c1f15d5c3186c97090001",
        "tx_pointer_block_height": "0x342bfa",
        "tx_pointer_tx_index": 0,
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "contract_id": "0xfb2b92c17160f9856664bde85bec51f5839d565898d489a6ef8fcb9b73575b57"
      },
      {
        "input_type": "Contract",
        "utxo_id": "0xa1831ea168642cb23c1f1f49d3aa84c3cd61ef7b8b8d0206d07173d3dff636940006",
        "tx_pointer_block_height": "0x34278a",
        "tx_pointer_tx_index": 0,
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "contract_id": "0x56b7d897284fefd10dc0b19631392debd7a6678486dfbe764030dec170f21245"
      },
      {
        "input_type": "Contract",
        "utxo_id": "0xe0fb42f12a7dd4ab809804c50742671d0832245bc3f55a2c1f15d5c3186c97090003",
        "tx_pointer_block_height": "0x342bfa",
        "tx_pointer_tx_index": 0,
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "contract_id": "0x2340a412a77607108d160926222632dd427bafc6f57e185c0140c849d88b8e99"
      },
      {
        "input_type": "Contract",
        "utxo_id": "0xe0fb42f12a7dd4ab809804c50742671d0832245bc3f55a2c1f15d5c3186c97090004",
        "tx_pointer_block_height": "0x342bfa",
        "tx_pointer_tx_index": 0,
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "contract_id": "0xd5af7d47d518a679495f5ebd6de51bc8ddffbe173f3c1775d90f7acb7e6655ad"
      },
      {
        "input_type": "CoinPredicate",
        "utxo_id": "0x51ca93cdd567f216f146894583b384a9242549e03418d13b7f3a945f1e2e3bae0002",
        "owner": "0x80ee0f69976f3fc4667f1518b01d129e63b79600f7812e21dbe10f4273ed8d0c",
        "amount": "0x18689",
        "asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07",
        "tx_pointer_block_height": "0x32a6c9",
        "tx_pointer_tx_index": 0,
        "predicate_gas_used": "0xa7d1",
        "predicate": "0x1a403000504100301a445000ba49000032400481504100205d490000504100083240048220451300524510044a4400007cf30ca9e83e8b7e0d1e608fb6252d53a08144a65cd73031ff2fbc52614b8a6a00000000000002306fe6c8ac4882eaefe85d7bb631a75135fc0e2bb9b85dafa2cea6248ed5a0563c00000000000000018162cd4a82eadca93ce249353b367e2ccd72bad5cff1b1b3e4fac75b834a77eb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042414b4f000000003031323334353637383961626364656600000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000cccccccccccc00020000000000001b1000000000000019e000000000000019d8000000000000160000000000000015a8000000000000117800000000000010f80000000000001064000000000000103c0000000000000fa00000000000000c1c00000000000009080000000000000838",
        "predicate_data": "0x"
      }
    ],
    "outputs": [
      {
        "output_type": "Contract",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80000",
        "input_index": "0x0",
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Variable",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80001",
        "to": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "amount": "0x0",
        "asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Variable",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80002",
        "to": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "amount": "0x0",
        "asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Variable",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80003",
        "to": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "amount": "0x0",
        "asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Variable",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80004",
        "to": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "amount": "0x0",
        "asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Contract",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80005",
        "input_index": "0x1",
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Contract",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80006",
        "input_index": "0x2",
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Contract",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80007",
        "input_index": "0x3",
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Contract",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80008",
        "input_index": "0x4",
        "balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "state_root": "0x0000000000000000000000000000000000000000000000000000000000000000"
      },
      {
        "output_type": "Change",
        "utxo_id": "0x8e0b2f9fb1d90e7713548d91b14c0f62272f552cafde86a7503235b1bf0e72e80009",
        "to": "0x80ee0f69976f3fc4667f1518b01d129e63b79600f7812e21dbe10f4273ed8d0c",
        "amount": "0x1866a",
        "asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
      }
    ],
    "witnesses": [
      "0x42414b4f00000000000000000f313c038df532f27d89ec68747f7d168db15ef13eae0707a726147cfbe9750c4f178ae6b78ab346a85625e8c29fd66a66fc20f33f5a83b30238cd097830728f0000000000000024000000000000003a00000000000000257b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a22222c226f726967696e223a2268747470733a2f2f736166652e62616b6f2e676c6f62616c222c2263726f73734f726967696e223a66616c73657d5c5649a7ff0bd5ebd978da34a879b6edc6d99d2ab43f3f9b78d8831b2fb463b90500000000"
    ],
    "metadata_inputs_offset": 496,
    "metadata_outputs_offset": 2112,
    "metadata_witnesses_offset": 2912,
    "script_gas_limit": 332715,
    "script": "0x724028c0724428985d451000724828a02d41148a24040000",
    "script_data": "0x00000000000003e8f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07243ef4c2301f44eecbeaf1c39fee9379664b59a2e5b75317e8c7e7f26a25ed4d00000000000028f00000000000002905000000000000000d657865637574655f6f72646572000000000000000080ee0f69976f3fc4667f1518b01d129e63b79600f7812e21dbe10f4273ed8d0ce71d957a5d25499f6818e4d6c762ee13e6f06a9f830224d30461637faf943023000000000000007000000000000003e8000000000000000000000000000000000000000000000000000000000000008256b7d897284fefd10dc0b19631392debd7a6678486dfbe764030dec170f21245fb2b92c17160f9856664bde85bec51f5839d565898d489a6ef8fcb9b73575b57f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07f8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad070000000000000000",
    "receipts_root": "0xe22a1e72ebf60e8dc7d2a90b3391512b453c6c0b4db579942697a1de8c4fe2ed",
    "metadata_script_data_offset": 120,
    "bytecode_witness_index": 0,
    "storage_slots": [],
    "salt": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "metadata_contract_id": null,
    "metadata_contract_root": null,
    "metadata_state_root": null,
    "tx_pointer_block_height": 0,
    "tx_pointer_tx_index": 0,
    "input_contract_utxo_id": "0x00000000000000000000000000000000000000000000000000000000000000000000",
    "input_contract_balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "input_contract_state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "input_contract_tx_pointer_block_height": 0,
    "input_contract_tx_pointer_tx_index": 0,
    "input_contract_contract_id": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "output_contract_input_index": 0,
    "output_contract_balance_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "output_contract_state_root": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "mint_amount": 0,
    "mint_asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "upgrade_purpose_type": "StateTransition",
    "upgrade_consensus_witness_index": null,
    "upgrade_consensus_checksum": null,
    "upgrade_state_root": null,
    "upload_root": null,
    "upload_witness_index": null,
    "upload_subsection_index": null,
    "upload_subsections_number": null,
    "upload_proof_set": []
  }
]

Query Parameters

app.pangea.foundation/v1/api/transactions?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.
  • transaction_type__in: This parameter is used to filter the data by a list of transaction type (i.e. Script, Mint, Create, Upgrade, Upload).
  • metadata_contract_id__in: This parameter is used to filter the data by a list of contract ids for contract deployed in a Create transaction type.
  • input_contract_contract_id__in: This parameter is used to filter the data by a list of input contract ids.
  • mint_asset_id__in: This parameter is used to filter the data by a list of mint asset ids.
  • mint_amount__lte: This parameter is used to filter on mint amount less than or equal to the value.
  • mint_amount__gte: This parameter is used to filter on mint amount greater than or equal to the value.
  • utxo_created__in: This parameter is used to filter the data by a list of output utxo ids.
  • utxo_spent__in: This parameter is used to filter the data by a list of input utxo ids.
  • address__in / contractid__in / identity__in: This parameter is used to filter the data by a list of addresses.
  • input_address__in: This parameter is used to filter the data by a list of input utxo owner addresses.