spl-token_getBalance
Retrieve the token or SOL balance of a Solana wallet. Provide just the wallet address for SOL, or include a token mint address for that token's balance.
Instructions
Get token or SOL balance for a wallet. If mint is omitted, returns native SOL balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | No | Token mint address (base58) | |
| wallet | Yes | Wallet address to check |