solana_getportfolio
Retrieve native and token balances for a Solana address, including optional NFT metadata, media items, and spam exclusion, using Moralis MCP Server.
Instructions
Gets all the native and token balances of the given address
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | The address to query | |
excludeSpam | No | Should exclude spam NFTs | |
mediaItems | No | Should return media items | |
network | Yes | The network to query | |
nftMetadata | No | Should return the full NFT metadata |
Input Schema (JSON Schema)
{
"properties": {
"address": {
"description": "The address to query",
"type": "string"
},
"excludeSpam": {
"default": false,
"description": "Should exclude spam NFTs",
"type": "boolean"
},
"mediaItems": {
"default": false,
"description": "Should return media items",
"type": "boolean"
},
"network": {
"description": "The network to query",
"enum": [
"mainnet",
"devnet"
],
"type": "string"
},
"nftMetadata": {
"default": false,
"description": "Should return the full NFT metadata",
"type": "boolean"
}
},
"required": [
"network",
"address"
],
"type": "object"
}