Skip to main content

Query Tokens

Query CW20 token information without submitting transactions.

Commands

Token Balance

Check the token balance of any address:
Or by key name:

Example

Output:

JSON Output

Token Info

View token metadata and supply:

Example

Output:

JSON Output

Token List

List all CW20 tokens you hold:
Or by address:

Example

Output:
Token list queries the contracts configured in cw20-tokens. Add tokens with:

JSON Output

Raw Contract Queries

For advanced queries, use xyz program query:

Balance Query

Token Info Query

Minter Query

All Accounts Query

Scripting Examples

Check Balance Threshold

Export Holdings to CSV

Monitor Supply Changes

Troubleshooting

Verify the contract address:
Add tokens to track:
Check node is running: