quote_usd
Convert any USD price into an exact XNO payment amount using the median of three independent sources. Receive a short-lived quote with address and expiry to complete payment.
Instructions
Price a call in dollars. Converts the USD price to the exact XNO amount
via the MEDIAN of three independent public price sources and returns
{request_id, address, price_raw, price_usd, rate_xno_usd, expires_at}.
The quote expires in <=30s; pay the exact price_raw to address before
that, then call verify_payment(request_id, price_raw). This is pure
computation — nothing is held or converted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price_usd | Yes | ||
| request_id | No |