balances reports holdings for one chain or many. fund returns a Trails widget URL that lets a finance operator fund the smart wallet in fiat (card, ACH, wire) or in crypto from another wallet. The CLI never constructs funding URLs manually, fund always uses the official Trails surface so the recipient address is correct.
Keep at least 0.1 USDC or 0.1 POL in the smart wallet at all times for gas. The CLI auto-selects USDC over native POL when both are available.
How it works
The Trails widget is the same surface end customers use elsewhere in the Polygon stack. It handles KYC if required and supports off-ramp in the reverse direction.Commands
balances
| Flag | Default | Purpose |
|---|---|---|
--wallet | main | Wallet name |
--chain | none | Single chain (defaults to wallet’s chain) |
--chains | none | Comma-separated chain list, up to 20. Overrides --chain. |
--chains lists two or more chains, output is multi-chain JSON keyed by chain. Single-chain output is a markdown table.
fund
| Flag | Default | Purpose |
|---|---|---|
--wallet | main | Wallet name to fund |
--chain | none | Chain to fund on |
Worked example
Implementation
Setup and wallets
Create the wallet before funding it.
Trails
The underlying funding surface.
Transfers
Move funds out of the wallet once they arrive.