SRC7 Metadata
Fetch SRC7 metadata set in the last 10000 blocks.
curl -s --location --request GET \
"https://app.pangea.foundation/v1/api/src7?chains=FUEL&from_block=-10000" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
[
...
{
"chain": 9889,
"block_number": 5370893,
"block_hash": "0xadeff0615a02d66b88f3e6d4e689d9b52ffa2b60f1c0f98ce05b1fdea0d1d975",
"transaction_hash": "0x5256e6c17238ad0921f1e888ee89eadf1437dca71f5cd0a420afbb19b81443c4",
"transaction_index": 0,
"log_index": 3,
"asset": "0x6e7b30546467cfc98aa09c8994ee6a84614a334cc47da2289e49fbd88f937805",
"key": "URI",
"metadata": "\"https://firebasestorage.googleapis.com/v0/b/pump-555ee.appspot.com/o/images%2F7abd99ecd85d016a6d46127776553bf7.jpg?alt=media&token=7ad1a9b6-4759-4307-b18a-3b0b28f4959b\"",
"sender": "0xd2c72034938ce660e4cac0f0f24ff8a311efb1dbe03ccb8a8e3eaafa7ce47c7e"
}
]
Query Parameters
app.pangea.foundation/v1/api/src7?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.asset__in
: This parameter is used to filter the data by a list of asset ids.key__in
: This parameter is used to filter the data by a list of metadata keys.sender__in
: This parameter is used to filter the data by a list of sender addresses.