Get order details of all the NFTs transferred and received by the user.
Headers
Authorization
: string
Authorization token received from Okto.
Query Parameters
page
: number
Page number for pagination. Default is 1.
size
: number
Number of records per page. Default is 10.
order_id
: string
Order id of the NFT.
Code
curl -X GET '${baseUrl}/api/v1/nft/order_details?order_id=dd784ad9-68f8-49b9-87dc-13723e933eab&page=1&size=500'
-H 'x-api-key: YOUR_CLIENT_API_KEY'
-H 'accept: application/json'
-H 'Authorization: Bearer AUTH_TOKEN'
Response
{
"status": "success",
"data": {
"count": 3,
"nfts": [
{
"explorer_smart_contract_url": "https://explorer.aptoslabs.com/0x3834f649bc2ef249898199ffbdfd77abb39b8732c30c4d5c742227feb34e93ed/0x3834f649bc2ef249898199ffbdfd77abb39b8732c30c4d5c742227feb34e93ed?network=testnet",
"description": "pro af",
"type": "NFT",
"collection_id": "267e0396-1148-51e2-8554-708f40c64e73",
"collection_name": "super avengers",
"nft_token_id": "0x3834f649bc2ef249898199ffbdfd77abb39b8732c30c4d5c742227feb34e93ed",
"token_uri": "ipfs://QmVFPvu8aeJHXyNVxpfftVHaKjRsbtH6dXWscJ2TukM3xi",
"id": "de2dfeff-c3cd-57fd-b918-ebbebbd9a1b7",
"image": "",
"collection_address": "0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1",
"collection_image": "super.avengers.net/vk",
"network_name": "APTOS_TESTNET",
"network_id": "d6fd4680-c28d-37b2-994e-b9d3d4026f91",
"nft_name": "I m pro"
},
{
"explorer_smart_contract_url": "https://explorer.aptoslabs.com/0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1/0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1?network=testnet",
"description": "Lets check",
"type": "NFT",
"collection_id": "267e0396-1148-51e2-8554-708f40c64e73",
"collection_name": "super avengers",
"nft_token_id": "0xebed26b4575706f5d650e8edb3533ffa54f3499fdddeb4b1ade18337ecf8c20f",
"token_uri": "ipfs://QmVFPvu8aeJHXyNVxpfftVHaKjRsbtH6dXWscJ2TukM3xi",
"id": "e3b6db62-eb6e-5e59-b5ee-d67e239124b4",
"image": "",
"collection_address": "0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1",
"collection_image": "super.avengers.net/vk",
"network_name": "APTOS_TESTNET",
"network_id": "d6fd4680-c28d-37b2-994e-b9d3d4026f91",
"nft_name": "Starting again"
},
{
"explorer_smart_contract_url": "https://explorer.aptoslabs.com/object/0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1?network=mainnet",
"description": "Lets check",
"type": "NFT",
"collection_id": "267e0396-1148-51e2-8554-708f40c64e73",
"collection_name": "super avengers",
"nft_token_id": "0x7380caecd949b0283e1e73d9231c53512a7f8d8e106d180270d89c8ee9786156",
"token_uri": "ipfs://QmVFPvu8aeJHXyNVxpfftVHaKjRsbtH6dXWscJ2TukM3xi",
"id": "46b95693-4a95-517e-aa3d-7d1439f9a86e",
"image": "",
"collection_address": "0x171e643e8e8dabc66b838b9055dbdf88647cf6601b164f5987f50a497bedfbe1",
"collection_image": "super.avengers.net/vk",
"network_name": "APTOS_TESTNET",
"network_id": "d6fd4680-c28d-37b2-994e-b9d3d4026f91",
"nft_name": "Mint NFT for Stan"
}
]
}
}