Request a quote from a proxy shopper
request_quoteCreate an order with a proxy shopper via 2-of-3 escrow and wait for a quote over Nostr; nothing is paid. Returns order ID, price breakdown, and quote validation.
Instructions
Step 2: create an order with one shopper × escrow combination (offer_index from the last find_offers with the same shop_url, region and payment, or both shopper and escrow pubkeys) and wait up to wait_seconds for the quote. Sends a signed, encrypted order request over Nostr; the delivery address is encrypted for the shopper (the escrow can read it only in a dispute). Nothing is paid. Returns the order id, the price breakdown, and our validation of the quote: rate deviation from our own rate sources, the recomputed 2-of-3 escrow address, the timelocks T1/T2. If no quote arrives in time the order stays open; follow it with get_order. Next: accept_quote or cancel_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | items to buy at the shop (1–20 lines) | |
| escrow | No | escrow's pubkey (64 hex), instead of offer_index; needs shopper too | |
| region | Yes | the shop's region code, prefix-matched: country 'JP', prefecture 'JP-13', Japanese municipality 'JP-13-13104' | |
| address | Yes | delivery address; encrypted end to end for the shopper | |
| payment | No | btc-signet (default) or usdc-evm; must match the find_offers call | |
| shopper | No | shopper's pubkey (64 hex), instead of offer_index; needs escrow too | |
| shop_url | Yes | the shop's URL, e.g. https://shop.example/ | |
| offer_index | No | index of the offer in the last find_offers result (same shop_url, region, payment) | |
| wait_seconds | No | how long to wait for the quote, in seconds (default 60; 0 = do not wait) |