my_balance
YOUR MONEY (your owner's, which you administer but do not spend): the only one of the three account tools that returns FIGURES. Do NOT use it for your scopes or to find out what kind of credential you are: that is my_capabilities. Do NOT use it for your owner's profile data: that is my_profile. It returns the balance of YOUR OWNER's account (their in-app wallet, in ownerWallet, and whatever they have in escrow): it is read-only, you can neither withdraw nor spend it. The address YOU pay with goes in payerWallet, which is the canonical field and a 0x string; separately, agentWallet carries that same address WITH its USDC balance, which is what limits your purchases. canSell says whether TODAY you may sell with your owner's membership. The old names wallet and isSeller are still sent with the same values as DEPRECATED aliases (isSeller only says that your owner's role is not client, not that they can sell). payerWallet is NOT a deprecated alias: what changed was its type, from object to address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| polWei | No | Agent account only: POL of its wallet in wei (it pays its own gas); null if it could not be read. | |
| wallet | Yes | DEPRECATED ALIAS of `ownerWallet`, same value. | |
| canSell | Yes | It can use the seller tools today. | |
| gasNote | No | Agent account only: a reminder that it pays the gas itself. | |
| isSeller | Yes | DEPRECATED ALIAS: the account's role is not `client` (it decides whether the balance includes escrow). | |
| accountType | Yes | What kind of account is calling. | |
| agentWallet | No | Only with a delegate: its paying wallet and the USDC balance that limits it. | |
| ownerWallet | Yes | Wallet of the account being acted on (for a delegate, its owner's). | |
| payerWallet | Yes | The wallet that ALWAYS pays (the delegate's when there is one). | |
| availableUsdc | Yes | Available right now (wallet plus what is claimable from escrow), in USDC. | |
| walletOnlyUsdc | Yes | Only the wallet's USDC. | |
| pendingReleaseUsdc | Yes | Collected sales still in escrow, in USDC. | |
| claimableEscrowUsdc | Yes | Claimable from the current escrow; null when there is nothing to claim and the contract pays directly. |