Actions19
- Block Actions
- DeFi Actions
- NFT Actions
- Token Actions
- Transaction Actions
- Wallet Actions
Wallet → Get NFTs
AI-generatedOverview
This node interacts with the Moralis Web3 API to retrieve NFTs owned by a specified wallet address on a selected blockchain. It is useful for applications that need to display or analyze the NFT holdings of a wallet, such as portfolio trackers, NFT marketplaces, or blockchain explorers. For example, a user can input a wallet address and select a blockchain like Ethereum or Polygon to fetch the NFTs owned by that wallet.
Use Case Examples
- Fetch NFTs owned by a wallet on the Ethereum blockchain to display in a portfolio dashboard.
- Retrieve NFT data for a wallet on Polygon to analyze ownership and metadata for a marketplace listing.
Properties
| Name | Meaning |
|---|---|
| Chain | The blockchain to query for the wallet's NFTs. Options include Arbitrum, Avalanche, Base, BSC, Ethereum, Optimism, and Polygon. |
| Wallet Address | The wallet address to query for NFTs. This is a required string input representing the wallet's public address. |
| Additional Fields | Optional parameters to customize the query. |
Output
JSON
jsonoperation- The operation performed, here it will be 'getWalletNFTs'.resource- The resource type, here it will be 'wallet'.chain- The blockchain chain queried.timestamp- The timestamp when the data was fetched.
Dependencies
- Moralis Web3 API
- An API key credential for Moralis
Troubleshooting
- Ensure the wallet address is valid and correctly formatted; invalid addresses will cause API errors.
- Check that the API key credential for Moralis is correctly set up and has sufficient permissions.
- If no NFTs are returned, verify that the wallet actually owns NFTs on the selected blockchain.
- Pagination issues can occur if the cursor parameter is incorrect or outdated; use the cursor returned from previous responses for pagination.
Links
- Moralis API Documentation - Get Wallet NFTs - Official Moralis API documentation for retrieving NFTs owned by a wallet.