Get account NFTs
Get account NFTs by its identifier (public key or account hash)
GET /accounts/{account_identifier}/nft-tokens
Query params
Filters tokens by their is_burned status: false
to get active NFTs, true
to get the burned ones. By default all tokens are returned.
Sorting
Default sorting is timestamp DESC
Optional properties
Owner public key if it's an account
Response
PaginatedResponse
<NFTToken>
Example
curl -X 'GET' \
'https://api.testnet.cspr.cloud/accounts/8E09F028BAFF4E3A851E70BB8A5DC02EAE7F8CB7FAF1B52D9C8DAFA7F41FA55C/nft-tokens' \
-H 'accept: application/json' \
-H 'authorization: 55f79117-fc4d-4d60-9956-65423f39a06a'
{
"data": [
{
"contract_package_hash": "006c68af5f767e406cccd326f8d8bba81dec20d2578f308d33e3bbf08ee5d383",
"block_height": 1461592,
"is_burned": false,
"offchain_metadata": null,
"offchain_metadata_status": 3,
"onchain_metadata": {
"token_uri": "{\"token_uri\":\"ipfs://QmZa1hrX5FJRxyNyEbYjTVPJ6mbQtA3wJu1RjQpv9am6n2\"}"
},
"owner_hash": "8e09f028baff4e3a851e70bb8a5dc02eae7f8cb7faf1b52d9c8dafa7f41fa55c",
"owner_type": 1,
"timestamp": "2022-10-18T15:22:06Z",
"token_id": "0",
"token_standard_id": 1,
"tracking_id": 20458
}
],
"item_count": 1,
"page_count": 1
}