Market, Funds, and Checkout
Analytics endpoints, direct wallet transfers, balance checks, and checkout session lifecycle operations.
Market Commands
peer market spreads
peer market compare
peer market volume
peer market leaderboard
peer market protocol-statsUse market commands for analytics and venue comparison rather than protocol mutations.
Transfer and Balance
peer transfer
peer balancebalance
Reads current token balance and now resolves token decimals instead of assuming 6.
transfer
Builds a preview-first transfer using token decimals from the live contract.
Checkout Commands
peer checkout create
peer checkout list
peer checkout show
peer checkout cancelCheckout is a hybrid API/cache surface.
create and cancel
These are now preview-first operations.
list and show
These read from the Pay API when auth is available and use the local cache when that is the only available source.
Status aliases
The checkout list filters normalize some convenience aliases:
pendingmaps tocreatedcompletedmaps tofulfilled
Agents should understand that aliasing happens before filtering.
Local Checkout Cache
Checkout cache lives at ~/.peer/checkout-sessions.json.
This matters for:
- unauthenticated local inspection
- reconciliation after partial failures
- recovering session metadata between runs