Skip to content

Build an NFT provenance timeline on Astar

Fetch the token and its transfer history together. The token response gives the current owner and artwork; transfers provide the ordered mint, transfer, and burn events.

Terminal window
COLLECTION=0x0000000000000000000000000000000000000001
TOKEN_ID=1
curl -sS -H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/nfts/$COLLECTION/$TOKEN_ID"
curl -sS -H "Authorization: Bearer $ARADIA_API_TOKEN" \
"https://api.aradia.app/v1/nfts/$COLLECTION/$TOKEN_ID/transfers?limit=100"

confirmations is the number of blocks mined on top of an event. It can be null for historical rows whose block number is unknown. Do not turn null into zero, because unknown depth is not the same as an unconfirmed transfer.

The endpoint excludes rows explicitly invalidated by a chain reorganisation. Apply the confirmation threshold appropriate for your product before calling an event settled.