curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/wallets/{identifier}/nfts \
--header 'X-API-KEY: <api-key>'
[
{
"chain": "<string>",
"contractAddress": "<string>",
"tokenId": "<string>",
"metadata": {
"attributes": [],
"collection": {},
"description": "<string>",
"image": "<string>",
"animation_url": "<string>",
"name": "<string>"
},
"locator": "<string>",
"tokenStandard": "<string>"
}
]
This API enables fetching the NFTs for a provided wallet address and chain.
The response will be slightly different between EVM, Solana, and other wallets. See the example responses to the right.
[
{
"chain": "<string>",
"contractAddress": "<string>",
"tokenId": "<string>",
"metadata": {
"attributes": [],
"collection": {},
"description": "<string>",
"image": "<string>",
"animation_url": "<string>",
"name": "<string>"
},
"locator": "<string>",
"tokenStandard": "<string>"
}
]
Obtained in the Crossmint developer console
The wallet identifier in the format of <chain>:<address>
, email:<email_address>:<chain>
or userId:<userId>:<chain>
.
Number of items to display per page
The blockchain used in the request.
The token contract address
The numeric tokenId for the specified NFT
metadata.attributes.trait_type
metadata.attributes.value
metadata.attributes.display_type
URL that represents the image for the NFT
Optional URL representing a video or other multimedia file
The address of the NFT on the blockchain
The type of contract this token is from (ERC-721, ERC-1155 or ERC-5643)
The date and time when the subscription expires
The blockchain used in the request.
The token contract address
The numeric tokenId for the specified NFT
metadata.attributes.trait_type
metadata.attributes.value
metadata.attributes.display_type
URL that represents the image for the NFT
Optional URL representing a video or other multimedia file
The address of the NFT on the blockchain
The type of contract this token is from (ERC-721, ERC-1155 or ERC-5643)
The date and time when the subscription expires
The blockchain used in the request, solana
in this case.
The unique identifier of this NFT on Solana
A URL that represents the image for the NFT
metadata.attributes.value
metadata.attributes.trait_type
The address of the NFT on the blockchain