Fuel Receipts
Fetch Call
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=Call" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15e8",
"block_hash": "0x46df6978546083e6fcf1d8f8460f6506a95aaba700261f021b0e7df738a03ddf",
"transaction_index": 0,
"transaction_hash": "0xe22fbdaf419ebda669f013d78a0cb871d7087ec0ae832a3d6c23574d58280f94",
"receipt_index": "0x0",
"receipt_type": "Call",
"id": "0x0000000000000000000000000000000000000000000000000000000000000000",
"pc": 11680,
"is": 11680,
"to": "0x4a6914d9ee51445a57cfddf8690eb3f072933925d6cdfa6c1e5f953dd5b8e610",
"amount": 0,
"asset_id": "0x0000000000000000000000000000000000000000000000000000000000000000",
"gas": 159733,
"param1": 10480,
"param2": 10495
}
]
Return receipt type
Fetch Return
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=Return" \
--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
}
]
ReturnData receipt type
Fetch ReturnData
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=ReturnData" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15e8",
"block_hash": "0x46df6978546083e6fcf1d8f8460f6506a95aaba700261f021b0e7df738a03ddf",
"transaction_index": 0,
"transaction_hash": "0xe22fbdaf419ebda669f013d78a0cb871d7087ec0ae832a3d6c23574d58280f94",
"receipt_index": "0x2",
"receipt_type": "ReturnData",
"id": "0x4a6914d9ee51445a57cfddf8690eb3f072933925d6cdfa6c1e5f953dd5b8e610",
"pc": 16748,
"is": 11680,
"ptr": 0,
"len": 0,
"digest": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"data": "0x"
}
]
Panic receipt type
Fetch Panic
receipts for blocks 8000000
to 8010000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8010000&receipt_type__in=Panic" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a3550",
"block_hash": "0x72a43275c1b689a4e6e9b2e3be4edbbace594f54a09b8dbec069312d71acc90c",
"transaction_index": 0,
"transaction_hash": "0x7a33a54ddd162e5fa667515e3310c8fd3ffcb30d4fb0246ea40784a960e6075d",
"receipt_index": "0x4",
"receipt_type": "Panic",
"id": "0x0000000000000000000000000000000000000000000000000000000000000000",
"pc": 15752,
"is": 10368,
"reason": {
"reason": 8,
"instruction": 0
}
}
]
Revert receipt type
Fetch Revert
receipts for blocks 8000000
to 8010000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8010000&receipt_type__in=Revert" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a35ae",
"block_hash": "0xd3a557f849f8bed81ed3df9dd3474eed6d256f2853ddde5b51055ca7d5665aa4",
"transaction_index": 0,
"transaction_hash": "0x372369336e57edbcbd486921cb80b97b3cec35a4f514364e31e5c74f07c5c87f",
"receipt_index": "0x34",
"receipt_type": "Revert",
"id": "0x0000000000000000000000000000000000000000000000000000000000000000",
"ra": 18446744073709486000,
"pc": 23456,
"is": 10368
}
]
LogData receipt type
Fetch LogData
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=LogData" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15e8",
"block_hash": "0x46df6978546083e6fcf1d8f8460f6506a95aaba700261f021b0e7df738a03ddf",
"transaction_index": 0,
"transaction_hash": "0xe22fbdaf419ebda669f013d78a0cb871d7087ec0ae832a3d6c23574d58280f94",
"receipt_index": "0x1",
"receipt_type": "LogData",
"id": "0x4a6914d9ee51445a57cfddf8690eb3f072933925d6cdfa6c1e5f953dd5b8e610",
"ra": 0,
"rb": 9571889411291566000,
"pc": 47664,
"is": 11680,
"ptr": 67103643,
"len": 64,
"digest": "0xa33f83a5ad67481c8a7b5dea96dbf9a02d3a1713895e319c214f9148e90fde72",
"data": "0x000000000000000062b29ea35c44c1f3270fa6b24247a6551ad8a43056a110157e768a1c8b7d5e930000000000000000000000000000000240000000674d10b9"
}
]
Transfer receipt type
Fetch Transfer
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=Transfer" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15d2",
"block_hash": "0x01da2d92329a3ac4fe150955cc89d37cc94af804ab4e5118829c84a763c2f198",
"transaction_index": 0,
"transaction_hash": "0x5a9fcc963c39162f0bc8e66b4733c39140f303c0a7629b443b16e82964ffd71b",
"receipt_index": "0x4",
"receipt_type": "Transfer",
"id": "0x0000000000000000000000000000000000000000000000000000000000000000",
"pc": 15976,
"is": 10368,
"to": "0x2e40f2b244b98ed6b8204b3de0156c6961f98525c8162f80162fcf53eebd90e7",
"amount": 1000000,
"asset_id": "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
}
]
TransferOut receipt type
Fetch TransferOut
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=TransferOut" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15d2",
"block_hash": "0x01da2d92329a3ac4fe150955cc89d37cc94af804ab4e5118829c84a763c2f198",
"transaction_index": 0,
"transaction_hash": "0x5a9fcc963c39162f0bc8e66b4733c39140f303c0a7629b443b16e82964ffd71b",
"receipt_index": "0x6",
"receipt_type": "TransferOut",
"id": "0x2e40f2b244b98ed6b8204b3de0156c6961f98525c8162f80162fcf53eebd90e7",
"pc": 83804,
"is": 41520,
"to": "0xa3a92f84661181f72160de7bfe1d501b62e63b84585a52e093d2ff3368cb010a",
"amount": 97976939365,
"asset_id": "0x9faba055d60f126d67b7ea997a052d8fa27a422b6727f6f34603b13b889b8322"
}
]
ScriptResult receipt type
Fetch ScriptResult
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=ScriptResult" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a15e8",
"block_hash": "0x46df6978546083e6fcf1d8f8460f6506a95aaba700261f021b0e7df738a03ddf",
"transaction_index": 0,
"transaction_hash": "0xe22fbdaf419ebda669f013d78a0cb871d7087ec0ae832a3d6c23574d58280f94",
"receipt_index": "0x4",
"receipt_type": "ScriptResult",
"result": "Success",
"gas_used": 117917
}
]
MessageOut receipt type
Fetch MessageOut
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=MessageOut" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a142e",
"block_hash": "0x2e587484dffad29809bb88de0126e1dd81c67036f8fe3032fd5ac2acdb3f0608",
"transaction_index": 0,
"transaction_hash": "0xdf9e334e239cb820e536771da8c60c7ade55ae1389066d9c5f981e8963ceb3da",
"receipt_index": "0x0",
"receipt_type": "MessageOut",
"len": 0,
"digest": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"data": "0x",
"amount": 109000000,
"sender": "0xdf9e334e239cb820e536771da8c60c7ade55ae1389066d9c5f981e8963ceb3da",
"recipient": "0x000000000000000000000000bb689b0efe81855f501d784021400b4aca457d3d",
"nonce": "0x60f4ac61d99c7411e2b9a19838fff709668252c853d12e738b6ae1b8c7fdad2b"
}
]
Mint receipt type
Fetch Mint
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=Mint" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a157f",
"block_hash": "0x4467bf50025dc2df080be3d50b6ac37576a27b9b9ad73db3a5537bdf9077f343",
"transaction_index": 0,
"transaction_hash": "0xf6f77f5000492346a88582757d4cddabcd3e6efdaea77573a2734d9d9b12ba04",
"receipt_index": "0x1",
"receipt_type": "Mint",
"pc": 37800,
"is": 11768,
"val": 75000000,
"contract_id": "0x4a6914d9ee51445a57cfddf8690eb3f072933925d6cdfa6c1e5f953dd5b8e610",
"sub_id": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
]
Burn receipt type
Fetch Burn
receipts for blocks 8000000
to 8001000
.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/receipts?chains=FUEL&from_block=8000000&to_block=8001000&receipt_type__in=Burn" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": "0x7a139d",
"block_hash": "0x829e3b5fdedbdcc1f08e937494daed6ed581c6382caf15e642ff4ec90b67395a",
"transaction_index": 1,
"transaction_hash": "0x9a28b75eb638624c4d9f2bfa8778bf0b2222bd5263307ef484cccb48709664bb",
"receipt_index": "0x2",
"receipt_type": "Burn",
"pc": 38568,
"is": 24560,
"val": 47146245,
"contract_id": "0x2e40f2b244b98ed6b8204b3de0156c6961f98525c8162f80162fcf53eebd90e7",
"sub_id": "0xd0eb72abdb6c6f89078ff5a6441549f4d1a78f2da79eb9212592869722c3bd33"
}
]
Query Parameters
app.pangea.foundation/v1/api/receipts?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.receipt_type__in
: Filters the data by a list ofreceipt_type
.