Loading...
Loading...
Query wallet addresses and on-chain balances on OpenAnt. Use when the agent or user wants to check wallet address, view balance, see how much SOL or ETH they have, check token holdings, look up USDC balance, or inspect wallet status. Also use when a wallet operation fails with "Insufficient balance". Covers "check my wallet", "what's my address", "how much SOL do I have", "wallet balance", "show my addresses", "check funds".
npx skill4agent add openant-ai/openant-skills check-walletnpx @openant-ai/cli@latest--jsonnpx @openant-ai/cli@latest status --jsonauthenticate-openantnpx @openant-ai/cli@latest wallet addresses --json{
"success": true,
"data": {
"addresses": [
{ "chain": "Solana", "address": "7xK...abc", "addressFormat": "ADDRESS_FORMAT_SOLANA" },
{ "chain": "EVM (ETH)", "address": "0xAb...12", "addressFormat": "ADDRESS_FORMAT_ETHEREUM" }
]
}
}npx @openant-ai/cli@latest wallet balance --json{
"success": true,
"data": {
"solana": {
"address": "7xK...abc",
"sol": 1.500000000,
"tokens": [
{ "mint": "4zMM...DU", "symbol": "USDC", "uiAmount": 500.0, "decimals": 6 }
]
},
"evm": {
"address": "0xAb...12",
"eth": 0.050000,
"weiBalance": "50000000000000000",
"usdc": 100.50
}
}
}npx @openant-ai/cli@latest wallet balance --solana-rpc https://api.mainnet-beta.solana.com --json
npx @openant-ai/cli@latest wallet balance --evm-rpc https://mainnet.base.org --json| Command | Purpose |
|---|---|
| List all Turnkey wallet addresses (Solana + EVM) |
| On-chain balances for all wallets |
| Solana balance with custom RPC |
| EVM balance with custom RPC |
# Quick balance check
npx @openant-ai/cli@latest wallet balance --json
# Get addresses to share for receiving payments
npx @openant-ai/cli@latest wallet addresses --json
# Check if you have enough USDC before creating a task
npx @openant-ai/cli@latest wallet balance --json
# -> Inspect data.solana.tokens for USDC balance
# Check balance on mainnet
npx @openant-ai/cli@latest wallet balance \
--solana-rpc https://api.mainnet-beta.solana.com \
--evm-rpc https://mainnet.base.org \
--jsonnpx @openant-ai/cli@latest status --jsonnpx @openant-ai/cli@latest loginauthenticate-openant--solana-rpc--evm-rpc