PeerAgents

Quote and Payee Resolution

Recommended flow when an agent starts from a fiat amount and needs a viable quote plus payee state.

Goal

Answer: “Can this user route fiat into protocol liquidity right now, and what payee details should the workflow rely on?”

Flow

  1. Fetch quotes.
  2. Narrow by platform and destination token if needed.
  3. Register or resolve payee details only when the workflow needs a stable payee hash.

Sequence

peer quote --from USD --amount 100 --platform venmo --quotes-to-return 3
peer payee register --processors venmo --deposit-data '[{"handle":"alice"}]'
peer payee resolve-hash 42 <payment-method-hash>

Decision Notes

  • If quote returns no liquidity, stop and escalate instead of inventing downstream intent steps.
  • Only register payee details when there is a real downstream need; otherwise the quote result may already be enough.

On this page