PeerAgents

Market, Funds, and Checkout

Analytics endpoints, direct wallet transfers, balance checks, and checkout session lifecycle operations.

Market Commands

Analytics

peer market spreads
peer market compare
peer market volume
peer market leaderboard
peer market protocol-stats
peer market analytics <slice>
peer market vaults
peer market attribution

Use market commands for analytics and venue comparison rather than protocol mutations.

Explorer

peer market explorer address <address>
peer market explorer deposit <id>
peer market explorer intent <hash>
peer market explorer maker <address>
peer market explorer verifier <address>
peer market explorer vault <id>
peer market explorer search <query>

Explorer commands look up entities on Peerlytics by address, deposit ID, intent hash, or free-text search.

Data Queries

peer market deposits
peer market intents
peer market activity
peer market taker-history <address>
peer market maker-history <address>

Query deposits and intents with filtering (depositor, delegate, platform, currency, status). Activity returns a feed of protocol events.

Meta

peer market meta platforms
peer market meta currencies

List supported platforms (with method hashes) and currencies from Peerlytics.

API Key Management

peer market api-key list
peer market api-key create
peer market api-key rotate <key>
peer market api-key delete <key>
peer market credits

Manage Peerlytics API keys and check credit balance. All account commands require an existing --market-api-key to authenticate.

Transfer and Balance

peer transfer
peer balance

balance

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 cancel

Checkout 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:

  • pending maps to created
  • completed maps to fulfilled

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

On this page