Get Pi wallet balance
get_wallet_balanceCheck Pi and custom-token balances for any wallet address. Verify token holdings or confirm if an account exists on-chain using public ledger data.
Instructions
Read the current Pi and custom-token balances of a Pi wallet address. Call this whenever you need to know how much Pi an address holds, whether it holds a particular token, or whether the account exists on-chain at all. Reads public ledger data only — it cannot move funds and needs no credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Pi wallet address (Stellar public key, 56 characters, starts with G) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| balances | Yes | ||
| sequence | Yes | ||
| account_id | Yes | ||
| subentry_count | Yes | ||
| last_modified_ledger | Yes |