NFTs the latest buzz in the crypto world and Unmarshal is there to support with the data needs around NFTs as well.
The NFT Assets API allows retrieval of all non-fungible ERC-721 and ERC-1155 NFT assets held by an address with offset-based pagination.
For solana pagination and contract address filtering is not supported at the moment.
Filters:
unmarshal.NFT
.getAssets(Chain.ethereum, "demo.eth")
.then(({data}) => console.log(data))
curl -i -X GET \ 'https://api.unmarshal.com/v3/:chain/address/:address/nft-assets?offset=0&pageSize=5&contract=string&auth_key=YOUR_API_KEY_HERE'
{- "items_on_page": 14,
- "next_offset": 16,
- "nft_assets": [
- {
- "asset_contract": "0xfe3eea9f826e56ca5702aad50659d801e4ea9320",
- "token_id": "6285",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "issuer_specific_data": {
- "entire_response": "{\n \"name\": \"BSC.NEWS Speical\",\n \"description\": \"These 50 special NFTs are for the first 50 purchasers of the SCV Bot x BSC.News limited edition NFT\",\n \"image\": \"ipfs://Qmc7n4Vaqn1zjhRVEoFdDSNbfCxvPN1cNySNmNPe6cK6St/bscnews360.mp4\",\n \"attributes\": {\n \"rarity\": \"Rare\",\n \"collection\": \"BSC.NEWS Speical\",\n \"series\": \"SCV\"\n }\n}",
- "name": "bsc.news speical"
}, - "price": "",
- "animation_url": "",
- "description": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0xfe3eea9f826e56ca5702aad50659d801e4ea9320",
- "token_id": "5807",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "issuer_specific_data": {
- "entire_response": "{\n \"name\": \"SCV Bot x BSC.News\",\n \"description\": \"A BSC.News x SCV Collaboration Edition (Limited)\",\n \"image\": \"ipfs://Qmc7n4Vaqn1zjhRVEoFdDSNbfCxvPN1cNySNmNPe6cK6St/bscnews1.png\",\n \"attributes\": {\n \"rarity\": \"Uncommon\",\n \"collection\": \"SCV Bot x BSC.News\"\n }\n}",
- "name": "scv bot x bsc.news"
}, - "price": "",
- "animation_url": "",
- "description": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
- "token_id": "69072",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "issuer_specific_data": {
- "entire_response": "{\n\t\"name\": \"Flipsie Easter ‘21\",\n\t\"description\": \"Watch out for Flipsie’s spatula smash!\",\n\t\"image\": \"ipfs://QmZGqWaovULNEMKxBCGnGjh27JQkAyadS6AW4J4Lzf3XBp/easter-flipper.png\",\n\t\"attributes\": {\n\t\t\"bunnyId\": \"13\"\n\t}\n}",
- "name": "flipsie easter ‘21"
}, - "price": "",
- "animation_url": "",
- "description": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x9ddc83be1e5254669bdb366941c746a86194d61b",
- "token_id": "7964",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Body",
- "value": "Citrine"
}, - {
- "trait_type": "Eyes",
- "value": "Red Pac"
}, - {
- "trait_type": "Mouth",
- "value": "Hmm"
}, - {
- "trait_type": "Nose",
- "value": "Normal"
}, - {
- "trait_type": "Glasses",
- "value": "White 3D"
}, - {
- "trait_type": "Hat",
- "value": "None"
}, - {
- "trait_type": "Accessory",
- "value": "None"
}, - {
- "trait_type": "Shoes",
- "value": "Sand Boots"
}, - {
- "trait_type": "Outfit",
- "value": "Sleepy"
}, - {
- "trait_type": "Background",
- "value": "Heavenly"
}, - {
- "trait_type": "Strength",
- "value": "45"
}, - {
- "trait_type": "Constitution",
- "value": "23"
}, - {
- "trait_type": "Dexterity",
- "value": "44"
}, - {
- "trait_type": "Intelligence",
- "value": "80"
}, - {
- "trait_type": "Wisdom",
- "value": "66"
}, - {
- "trait_type": "Charisma",
- "value": "50"
}, - {
- "trait_type": "Swagger",
- "value": "30"
}, - {
- "trait_type": "Crew",
- "value": "12"
}, - {
- "trait_type": "Generation",
- "value": "0"
}, - {
- "trait_type": "Universe",
- "value": "0"
}
], - "issuer_specific_data": {
- "entire_response": "jJRvT9swEMa/inV7a0ELLUN5RwujaNBttPzRpqlykiM5ltiZfS4ExHefPGC40iT8snV+vueee3yPoFWLkMHUGufExDiHTopj1GgVk9FiID4MP45BQomusNSFPyGDfTkYDYTX9NujFMPtoZh/WjpRPYNYijviWqyVJeOdyE3ZC+67cHeuil+VNV6XToqqUc8VsQ9nrfFcOylqxU4KVRTonLEUjpQuhcqpISZ0W2KCIjfO9VsggVpVhR6ou3HZ9va3dn5+ejvce6hHs8ud9vpAPdRny8vieHF/2+ff7cXB9TQ/XX4eX18dnXmQgPeMVqtm5W0DGYAExWwp94wOsh+PwFYRr4J+yGBiyh4krFXjw88psSWNwSByXaP61ct38CQfYYM86tFF5DmW4qsqUsiz4EuEzto2BZsbF4S9Sp0b26omBTx+HktU8aomRrF7mELPFEfk3KS5c/Ay7djcVHZRmw1rFyEtE2M4tPDuXL54vqFY8qJB7IKOd9HJvzBHHc9QrVE3SRcs2KKuOB7uaJxi8tRox8T+73t8i+PObgp8iCHyxEHiazpGoxTyRDM2DVWoizha+4MU+IpcaUJyX2vu7aVg01pZcq2K2hwn1VvcqapCG3G7SdzU4l0EDXdSVL7tzAhNKnehaY1246n+l/sp4SSsumXfhc0T9pSmVjEZvfK2gQzg6Q8AAAD//wEAAP//",
- "name": "cross bosses, generation 0 #175"
}, - "price": "",
- "animation_url": "",
- "description": "8,040 unique, 1/1 NFTs generated with various body types, backgrounds, glasses, eyes, mouths, hats, accessories, and abilities. Be bossy.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x1316f7d656ea26aa8141cb045329168b15e72186",
- "token_id": "937",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "issuer_specific_data": {
- "entire_response": "PI67asNAEEX/ZWqthK0H9rapUqRLF4IZjUfxwL6YnSUv8u9BhLi5xbkcON+QMDJ4eHiCDq5cSaWY5PSPJOLb/t/MSvXDcMtGmmt1fxslWV/HnpsjTqYY3KHHiF854XvtKcdhk8B1mJdho3mk07S50/k4u4mJ3DrT6hY6Titex8N5maAD/jDWhOHSNIAH6ADNVNZmXMG/vHZgimIVfGohdFA0F1YTvpPHvfn5s+zdu54koklOl6YBPMDPLwAAAP//AQAA//8=",
- "name": "CM"
}, - "price": "",
- "animation_url": "",
- "description": "CM",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x1316f7d656ea26aa8141cb045329168b15e72186",
- "token_id": "735",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "issuer_specific_data": {
- "entire_response": "PI+9TgMxEAZfxfrq812SyyXBTwANQoIOoWhjNomFf07eNRAQ745CQTPFSFPMNzIlhsMDvZtHuoi5L+jwyuJrmDWUDIdbNkIXMbmYA3tqwubMJoY3FhO0R4eQ6MRwOKvO4obhXNTXImL9H1PI2svYc7Oes1aKdtlToq+S6UN6X9JwDJFlmDbDdhx37Ke13ax23q5Xi6Wl3ZasX07b6XgzHRc0ogN/KtdMcd9qhAM6kGoNh6YscM8vHbRSUIHLLcYOcy0zVw38b+4SnfjpMl/vr3kOiTSUvG81wgE/vwAAAP//AQAA//8=",
- "name": "Pav Says No"
}, - "price": "",
- "animation_url": "",
- "description": "He says no because he likes it.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9137",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Rabbit"
}, - {
- "trait_type": "Rocket",
- "value": "Sturdy Satoshi"
}, - {
- "trait_type": "Moon",
- "value": "Blood Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Square Wave"
}, - {
- "trait_type": "Pattern Size",
- "value": "3XL"
}, - {
- "trait_type": "Base Color",
- "value": "Maroon"
}, - {
- "trait_type": "Color Scheme",
- "value": "Tetrade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9137,\"artworkId\":2392,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2392.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2392-thumb.png\",\"updated\":1615908207687,\"uid\":\"14NxgrYnyg7dLVpYmJnTrry6VpwutzjDADkZRbrvcMsZC\",\"hash_256\":\"bcfdb88502106e0ed7fc67ea8d482e78630e825ae12934ea444cf43ad4a5af80\",\"hash_ipfs\":\"QmRvGsAAmX3SNvsZvUvF2D5PBKQm3RCUP836dr4HtKRjEQ\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Rabbit\"},{\"trait_type\":\"Rocket\",\"value\":\"Sturdy Satoshi\"},{\"trait_type\":\"Moon\",\"value\":\"Blood Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Square Wave\"},{\"trait_type\":\"Pattern Size\",\"value\":\"3XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Maroon\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Tetrade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9136",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Frog"
}, - {
- "trait_type": "Rocket",
- "value": "HMS Nakamoto"
}, - {
- "trait_type": "Moon",
- "value": "Full Moon"
}, - {
- "trait_type": "Window",
- "value": "Square"
}, - {
- "trait_type": "Pattern",
- "value": "Square Wave"
}, - {
- "trait_type": "Pattern Size",
- "value": "3XL"
}, - {
- "trait_type": "Base Color",
- "value": "Dark Blue"
}, - {
- "trait_type": "Color Scheme",
- "value": "Triade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9136,\"artworkId\":2391,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2391.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2391-thumb.png\",\"updated\":1615908207668,\"uid\":\"1B4QcgQCZMRr9ca4EAZUmCvXdibgR4yJVNmjVUezcM\",\"hash_256\":\"0225ccc1398a86787c45330704db19847f4e1a7b9e0d61e7a41ef7b09f7b8e0c\",\"hash_ipfs\":\"QmcKPatkTkeMJ5mvbsWsFQzAUASMaRJ2CEkJ3XT7BifAy9\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Frog\"},{\"trait_type\":\"Rocket\",\"value\":\"HMS Nakamoto\"},{\"trait_type\":\"Moon\",\"value\":\"Full Moon\"},{\"trait_type\":\"Window\",\"value\":\"Square\"},{\"trait_type\":\"Pattern\",\"value\":\"Square Wave\"},{\"trait_type\":\"Pattern Size\",\"value\":\"3XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Dark Blue\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Triade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9135",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Money Mouth"
}, - {
- "trait_type": "Rocket",
- "value": "Feisty Finney"
}, - {
- "trait_type": "Moon",
- "value": "Blood Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Saw Zag"
}, - {
- "trait_type": "Pattern Size",
- "value": "XL"
}, - {
- "trait_type": "Base Color",
- "value": "Maroon"
}, - {
- "trait_type": "Color Scheme",
- "value": "Tetrade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9135,\"artworkId\":2390,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2390.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2390-thumb.png\",\"updated\":1615908207665,\"uid\":\"14NxgrTXYoie5JHyuJAxBDtD7VTRr7gMtJbGb4gqfqPxf\",\"hash_256\":\"da918b22e43ec8015e807e7bb477a5323755e8d30d5869c4e6388e51de9daf5b\",\"hash_ipfs\":\"QmPnWXXysExN8oWic4P83AnKJswnSnAbTbfXwZAMuwKkE1\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Money Mouth\"},{\"trait_type\":\"Rocket\",\"value\":\"Feisty Finney\"},{\"trait_type\":\"Moon\",\"value\":\"Blood Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Saw Zag\"},{\"trait_type\":\"Pattern Size\",\"value\":\"XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Maroon\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Tetrade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9134",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Santa"
}, - {
- "trait_type": "Rocket",
- "value": "Sturdy Satoshi"
}, - {
- "trait_type": "Moon",
- "value": "Full Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Circle Wave"
}, - {
- "trait_type": "Pattern Size",
- "value": "5XL"
}, - {
- "trait_type": "Base Color",
- "value": "Dark Blue"
}, - {
- "trait_type": "Color Scheme",
- "value": "Contrast"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9134,\"artworkId\":2389,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2389.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2389-thumb.png\",\"updated\":1615908207663,\"uid\":\"1mQ3Bvxh2YbVZRR4PaCVNtLPdkTNdbaxnopoyCdE9mW\",\"hash_256\":\"12d8ee165addd624753d4aa0b219889a007ada2009d6c15d41b963a3f7419155\",\"hash_ipfs\":\"QmUYVJoojzN9XnyHGqse3iF5oG5hE1DteWoHu1dgGmUst7\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Santa\"},{\"trait_type\":\"Rocket\",\"value\":\"Sturdy Satoshi\"},{\"trait_type\":\"Moon\",\"value\":\"Full Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Circle Wave\"},{\"trait_type\":\"Pattern Size\",\"value\":\"5XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Dark Blue\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Contrast\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9127",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Joker"
}, - {
- "trait_type": "Rocket",
- "value": "The Bold Brrrr"
}, - {
- "trait_type": "Moon",
- "value": "Blood Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Square Wave"
}, - {
- "trait_type": "Pattern Size",
- "value": "5XL"
}, - {
- "trait_type": "Base Color",
- "value": "Yellow"
}, - {
- "trait_type": "Color Scheme",
- "value": "Triade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9127,\"artworkId\":2382,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2382.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2382-thumb.png\",\"updated\":1615908207634,\"uid\":\"14NxgevjoRg2AAdboy5BoauKpSZr6HiufxFGNvM7zLPan\",\"hash_256\":\"8c00b021de548126c42fe2f7565f459bac9e2ccae14c83795726d2e186de0d37\",\"hash_ipfs\":\"QmWhgx6JC5mjLGi9HjAd8UDxaaE6bHZbPt4bWnjbV7Kh9n\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Joker\"},{\"trait_type\":\"Rocket\",\"value\":\"The Bold Brrrr\"},{\"trait_type\":\"Moon\",\"value\":\"Blood Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Square Wave\"},{\"trait_type\":\"Pattern Size\",\"value\":\"5XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Yellow\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Triade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9126",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Hamster"
}, - {
- "trait_type": "Rocket",
- "value": "The Bold Brrrr"
}, - {
- "trait_type": "Moon",
- "value": "Full Moon"
}, - {
- "trait_type": "Window",
- "value": "Squircle"
}, - {
- "trait_type": "Pattern",
- "value": "None"
}, - {
- "trait_type": "Pattern Size",
- "value": "None"
}, - {
- "trait_type": "Base Color",
- "value": "Green"
}, - {
- "trait_type": "Color Scheme",
- "value": "Triade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9126,\"artworkId\":2381,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2381.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2381-thumb.png\",\"updated\":1615908207632,\"uid\":\"1mQ3BrBtsCNReHr9hGCpJY6H5BTFoiqJsoQBEtDeHmT\",\"hash_256\":\"f91525c180f7a01e3ef4296b25713586ff2676eac91e2ef9abdcc97696656eba\",\"hash_ipfs\":\"Qma2ZafZvSC5dxAyXykq5faengLgFcn1KTy1u3Shucv8Nm\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Hamster\"},{\"trait_type\":\"Rocket\",\"value\":\"The Bold Brrrr\"},{\"trait_type\":\"Moon\",\"value\":\"Full Moon\"},{\"trait_type\":\"Window\",\"value\":\"Squircle\"},{\"trait_type\":\"Pattern\",\"value\":\"None\"},{\"trait_type\":\"Pattern Size\",\"value\":\"None\"},{\"trait_type\":\"Base Color\",\"value\":\"Green\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Triade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9125",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Owl"
}, - {
- "trait_type": "Rocket",
- "value": "Sturdy Satoshi"
}, - {
- "trait_type": "Moon",
- "value": "Half Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Zig Zipper"
}, - {
- "trait_type": "Pattern Size",
- "value": "3XL"
}, - {
- "trait_type": "Base Color",
- "value": "Light Cyan"
}, - {
- "trait_type": "Color Scheme",
- "value": "Tetrade"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9125,\"artworkId\":2380,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2380.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2380-thumb.png\",\"updated\":1615908207630,\"uid\":\"14NxgeqUN9m3YtqkgSXnAAZMUmhyWhGaGeXiY1yKyn5aY\",\"hash_256\":\"0a3f0c99076d254d0ac23853518391ad0dd6e668d84b2c59a47cd68670977eab\",\"hash_ipfs\":\"QmYTNUFc1e4yiWvUZK5s6aW88NhCRPUu2j4Kbqzq8fp9q4\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Owl\"},{\"trait_type\":\"Rocket\",\"value\":\"Sturdy Satoshi\"},{\"trait_type\":\"Moon\",\"value\":\"Half Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Zig Zipper\"},{\"trait_type\":\"Pattern Size\",\"value\":\"3XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Light Cyan\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Tetrade\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "asset_contract": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9124",
- "owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "type": "721",
- "balance": 1,
- "nft_metadata": [
- {
- "trait_type": "Hitch-Hiker",
- "value": "Racoon"
}, - {
- "trait_type": "Rocket",
- "value": "The Bold Brrrr"
}, - {
- "trait_type": "Moon",
- "value": "Full Moon"
}, - {
- "trait_type": "Window",
- "value": "Circle"
}, - {
- "trait_type": "Pattern",
- "value": "Zig Zipper"
}, - {
- "trait_type": "Pattern Size",
- "value": "3XL"
}, - {
- "trait_type": "Base Color",
- "value": "Dark Magenta"
}, - {
- "trait_type": "Color Scheme",
- "value": "Contrast"
}, - {
- "trait_type": "Achromatic",
- "value": "Nope"
}, - {
- "trait_type": "Dashed Lines",
- "value": "Nope"
}
], - "issuer_specific_data": {
- "entire_response": "{\"tokenId\":9124,\"artworkId\":2379,\"description\":\"LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.\",\"external_url\":\"https://lilmoonrockets.com/rocketgallery/lil-moon-rocket-2379.html\",\"image\":\"https://lilmoonrockets.com/rocketgallery/img/thumb/lil-moon-rocket-2379-thumb.png\",\"updated\":1615908207628,\"uid\":\"1mQ39JFByGppWtPUyqCZ16Cz6rrCnaZwgQnWAhB4aMn\",\"hash_256\":\"db32936ecbcada91767cc7bc7ea574d407ef171299e5f72a9f9aefa664e3ef41\",\"hash_ipfs\":\"QmNZmwBPUSbMQiat7oUsdFUqvgjTeHMTrU4dLhmabEXgbx\",\"attributes\":[{\"trait_type\":\"Hitch-Hiker\",\"value\":\"Racoon\"},{\"trait_type\":\"Rocket\",\"value\":\"The Bold Brrrr\"},{\"trait_type\":\"Moon\",\"value\":\"Full Moon\"},{\"trait_type\":\"Window\",\"value\":\"Circle\"},{\"trait_type\":\"Pattern\",\"value\":\"Zig Zipper\"},{\"trait_type\":\"Pattern Size\",\"value\":\"3XL\"},{\"trait_type\":\"Base Color\",\"value\":\"Dark Magenta\"},{\"trait_type\":\"Color Scheme\",\"value\":\"Contrast\"},{\"trait_type\":\"Achromatic\",\"value\":\"Nope\"},{\"trait_type\":\"Dashed Lines\",\"value\":\"Nope\"}]}",
- "name": ""
}, - "price": "",
- "animation_url": "",
- "description": "LiL Moon Rockets is a digital art collection consisting of 13337 unique art pieces, stored on the Ethereum blockchain as NFTs. Using a unique random number generation the composition of the collection was curated out of 272,160,000 possible combinations.",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}
]
}
The NFT Transactions API allows you to retrieve a list of recent non-fungible token (NFT) transactions associated with a specific wallet address. The response is paginated to ensure efficient handling of large amounts of data, and the transactions are listed in a recent-first order to provide up-to-date information.
unmarshal.NFT
.getTransactions(Chain.ethereum, "demo.eth")
.then(({data}) => console.log(data))
Example response
curl -i -X GET \ 'https://api.unmarshal.com/v2/:chain/address/:address/nft-transactions?page=1&pageSize=5&auth_key=YOUR_API_KEY_HERE'
{- "page": 1,
- "total_pages": 1,
- "items_on_page": 18,
- "total_txs": 18,
- "transactions": [
- {
- "contract_address": "0x9ddc83be1e5254669bdb366941c746a86194d61b",
- "token_id": "7964",
- "transaction_hash": "0x1149352484a6cd8363a00a765f02cacfff86617542ffc40aa93cea0288e53855",
- "block_number": 13785160,
- "block_hash": "0xb0fd40f2763bf70af12fa83cf4b3320f6b8c10bf83177c5efbd3b0e52db2c419",
- "transaction_idx": 43,
- "log_idx": 131,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x6741626ed9a06702d3dad18bdbe75983b66f38cc",
- "token_id": "55352681666948387327245818432918636715395760241",
- "transaction_hash": "0x17ae6fbb3e799f42bf4471eff9b3840ca8c66443dfec99c2824c41a2adf54862",
- "block_number": 13353208,
- "block_hash": "0xd106f81883871370dba8ca5d74d9b39e20c52e26743389de9e8a802de4df1b7d",
- "transaction_idx": 207,
- "log_idx": 155,
- "sender": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "to": "0x9447e3ed2a23572f7be359216321f7e67b364bac",
- "type": "",
- "creator": "0x9447e3ed2a23572f7be359216321f7e67b364bac"
}, - {
- "contract_address": "0x6741626ed9a06702d3dad18bdbe75983b66f38cc",
- "token_id": "55352681666948387327245818432918636715395760241",
- "transaction_hash": "0x6dc24aa47c4b6bea9509de0c7c4ff22061e040eacca0ef45f883c8c6979245bc",
- "block_number": 13353107,
- "block_hash": "0xfcb5998deca546893c331ff8185a34da0f457134b321249764216cd47d24321a",
- "transaction_idx": 93,
- "log_idx": 184,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0xfe3eea9f826e56ca5702aad50659d801e4ea9320",
- "token_id": "6285",
- "transaction_hash": "0xdb9156e83c495f911ded24264f87c03f2f0a5c43dd0a681c8e9f028c3c45795b",
- "block_number": 10020539,
- "block_hash": "0xfb938d56f62df5615e06e02727b5092f84c01bd7d227b59eea09f758f1942ed9",
- "transaction_idx": 111,
- "log_idx": 42,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0xfe3eea9f826e56ca5702aad50659d801e4ea9320",
- "token_id": "5807",
- "transaction_hash": "0xe125baf203c36a65c215411bb0ee7eb776735da81edece4d1d92178f8078a3d2",
- "block_number": 9995798,
- "block_hash": "0xf6cd405b95b5e291d7f3698f56bf350a80a838077f4092ffb9b7f08446bcd685",
- "transaction_idx": 96,
- "log_idx": 59,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x1316f7d656ea26aa8141cb045329168b15e72186",
- "token_id": "937",
- "transaction_hash": "0x82ee49810e9b8d01debf3c523019c6a784cc5c2e58a8e133dfdfd71a8b407559",
- "block_number": 9438448,
- "block_hash": "0x3ff0589c0a72f206ad116ffcf1b4cd741689de608cf020ac20c957648d38fad2",
- "transaction_idx": 51,
- "log_idx": 68,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x1316f7d656ea26aa8141cb045329168b15e72186",
- "token_id": "735",
- "transaction_hash": "0x1992366f23663eaf0d354d75536a956e9a2a34883fe009b71d56442f1b367ab7",
- "block_number": 9346050,
- "block_hash": "0x7a0a58750454f8319554143dd1a4bec84ef5375e35ad0583d7ebe1e02ac22ae4",
- "transaction_idx": 229,
- "log_idx": 44,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
- "token_id": "69072",
- "transaction_hash": "0x349360e8ef5e2c86739f5bedce7516fbebc4f07dbf2f01196e83867e92a0b4b8",
- "block_number": 6296315,
- "block_hash": "0x56d890b86e396219de62c267348510c72f10c7224593393c7610866194fe154b",
- "transaction_idx": 89,
- "log_idx": 212,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9137",
- "transaction_hash": "0x14d4907803dd88532afd3bfbdc8bc0d500dca63d876981f2a3abe4e8e651247d",
- "block_number": 5609356,
- "block_hash": "0x9ed4bde49c39082fa3f9a1e37a01eca1ee212ad89b4abe8825598803658b9a37",
- "transaction_idx": 67,
- "log_idx": 245,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9136",
- "transaction_hash": "0x14d4907803dd88532afd3bfbdc8bc0d500dca63d876981f2a3abe4e8e651247d",
- "block_number": 5609356,
- "block_hash": "0x9ed4bde49c39082fa3f9a1e37a01eca1ee212ad89b4abe8825598803658b9a37",
- "transaction_idx": 67,
- "log_idx": 244,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9135",
- "transaction_hash": "0x14d4907803dd88532afd3bfbdc8bc0d500dca63d876981f2a3abe4e8e651247d",
- "block_number": 5609356,
- "block_hash": "0x9ed4bde49c39082fa3f9a1e37a01eca1ee212ad89b4abe8825598803658b9a37",
- "transaction_idx": 67,
- "log_idx": 243,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9134",
- "transaction_hash": "0x14d4907803dd88532afd3bfbdc8bc0d500dca63d876981f2a3abe4e8e651247d",
- "block_number": 5609356,
- "block_hash": "0x9ed4bde49c39082fa3f9a1e37a01eca1ee212ad89b4abe8825598803658b9a37",
- "transaction_idx": 67,
- "log_idx": 242,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9127",
- "transaction_hash": "0x5ec4a01734ff6355bc6665f98ef1baa841f6ce2c57c715a3c9e06eeec317f856",
- "block_number": 5609088,
- "block_hash": "0xb598ed2da49616272511d6723011c5a7f0e646cf99ee9d870d535eb204187274",
- "transaction_idx": 43,
- "log_idx": 126,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9126",
- "transaction_hash": "0x5ec4a01734ff6355bc6665f98ef1baa841f6ce2c57c715a3c9e06eeec317f856",
- "block_number": 5609088,
- "block_hash": "0xb598ed2da49616272511d6723011c5a7f0e646cf99ee9d870d535eb204187274",
- "transaction_idx": 43,
- "log_idx": 125,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9125",
- "transaction_hash": "0x5ec4a01734ff6355bc6665f98ef1baa841f6ce2c57c715a3c9e06eeec317f856",
- "block_number": 5609088,
- "block_hash": "0xb598ed2da49616272511d6723011c5a7f0e646cf99ee9d870d535eb204187274",
- "transaction_idx": 43,
- "log_idx": 124,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0x0dd5aac633a92f50f55254ca91f98879307d92b5",
- "token_id": "9124",
- "transaction_hash": "0x5ec4a01734ff6355bc6665f98ef1baa841f6ce2c57c715a3c9e06eeec317f856",
- "block_number": 5609088,
- "block_hash": "0xb598ed2da49616272511d6723011c5a7f0e646cf99ee9d870d535eb204187274",
- "transaction_idx": 43,
- "log_idx": 123,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}, - {
- "contract_address": "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
- "token_id": "32794",
- "transaction_hash": "0x9ac0bec11fe239c63d037392b02e20a868f02019829343ac12bc9a1b7b541558",
- "block_number": 5472019,
- "block_hash": "0xd83ea1ddd820c8171a93a0460a9d4f197c97571b191dd082b27915e3f8b2b8f5",
- "transaction_idx": 34,
- "log_idx": 144,
- "sender": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "to": "0xdf4dbf6536201370f95e06a0f8a7a70fe40e388a",
- "type": "",
- "creator": "0xdf4dbf6536201370f95e06a0f8a7a70fe40e388a"
}, - {
- "contract_address": "0xdf7952b35f24acf7fc0487d01c8d5690a60dba07",
- "token_id": "32794",
- "transaction_hash": "0xf12bbaf9f3beb1672c18fe749f7ab68a6204406ca058eb34de1052fbabcd6308",
- "block_number": 5419509,
- "block_hash": "0x201c8fa0e4c37b5d4b91f3e932422bc1a5dcf6e5b567f78e251170b10103a722",
- "transaction_idx": 52,
- "log_idx": 151,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de",
- "type": "",
- "creator": "0xfc43f5f9dd45258b3aff31bdbe6561d97e8b71de"
}
]
}
Returns metadata of all the nfts within a contract or one specific nft if token id is provided
unmarshal.NFT
.getContractTokenDetails(Chain.ethereum, "contract address")
.then(({data}) => console.log(data))
Example response
curl -i -X GET \ 'https://api.unmarshal.com/v2/:chain/address/:address/details?tokenId=string&page=1&pageSize=5&auth_key=YOUR_API_KEY_HERE'
{- "page": 1,
- "total_pages": 1,
- "items_on_page": 1,
- "total_token_ids": 1,
- "nft_token_details": [
- {
- "contract_address": "0x06012c8cf97bead5deae237070f9587f8e7a266d",
- "token_id": "1137603",
- "actual_owner": "0xfC43f5F9dd45258b3AFf31Bdbe6561D97e8B71de",
- "name": "cryptokitties",
- "type": "721",
- "price": "0.277582534582129187",
- "animation_url": "",
- "description": "CryptoKitties is a game centered around breedable, collectible, and oh-so-adorable creatures we call CryptoKitties! Each cat is one-of-a-kind and 100% owned by you; it cannot be replicated, taken away, or destroyed.",
- "creator": "0x09191d18729da57a83a9afc8ace0c8d7d104e118"
}
]
}
Get all contract transactions of an NFT, and filter them by token ID (optional)
Example response
curl -i -X GET \ 'https://api.unmarshal.com/v1/:chain/contract/:address/nft-transactions?tokenId=string&page=1&pageSize=5&auth_key=YOUR_API_KEY_HERE'
{- "contract_address": "0x3a3e2aef7e44fd0bb3f0e2330c5b8f078816cbf6",
- "token_id": "6470",
- "transaction_hash": "0x550ab896bad15a82e2a0c3458f86929dd79b924732cfe875d5f6d192c5ee2c4b",
- "block_number": 11703141,
- "block_hash": "",
- "transaction_idx": 0,
- "log_idx": 512,
- "sender": "0x0000000000000000000000000000000000000000",
- "to": "0x6877654e79119a7f9a8182bb2389e797ca421d24"
}
This API returns all token Ids available for the specified contract
Example response
curl -i -X GET \ 'https://api.unmarshal.com/v1/:chain/contract/:address/tokenIds?auth_key=YOUR_API_KEY_HERE'
{- "total_ids": 6,
- "token_ids": [
- "0",
- "1",
- "10",
- "100",
- "1000",
- "1001"
]
}
This api gives history of owners for a given NFT.
unmarshal.NFT
.getNFTHolders(Chain.ethereum, "contract address", {tokenId: "tokenId"})
.then(({data}) => console.log(data))
Example response
curl -i -X GET \ 'https://api.unmarshal.com/v1/:chain/address/:address/nftholders?tokenId=string&auth_key=YOUR_API_KEY_HERE'
This endpoint allows you to retrieve the total NFT count for a given wallet address across multiple chains.
OK
curl -i -X GET \ 'https://api.unmarshal.com/v1/address/:address/nft-summary?chain=string&auth_key=YOUR_API_KEY_HERE'
{- "summary": [
- {
- "chain": "matic",
- "nft_count": 873
}, - {
- "chain": "bsc",
- "nft_count": 530
}, - {
- "chain": "ethereum",
- "nft_count": 30
}, - {
- "chain": "avalanche",
- "nft_count": 8
}, - {
- "chain": "fuse",
- "nft_count": 0
}
]
}