Skip to main content
Version: 2.2

Get NFTs by wallet

GEThttps://solana-gateway.moralis.io/account/:network/:address/nft

Gets NFTs owned by a given network and address.

PATH PARAMS
networkstringrequired
The network to query
addressstringrequired
The address of the contract
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.SolApi.account.getNFTs({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
Empty