Skip to content

@lelantos-org/sdk / x402 / PaymentQuote

Interface: PaymentQuote ​

Defined in: @lelantos-org/sdk/dist/x402/mechanism.d.ts:11

What an offer would cost, in the wallet's units.

Networks quote prices in their own units (see PaymentRequirements), which only the mechanism can interpret. Normalising lets one budget cover every network; the selector never prices an offer itself.

Properties ​

amount ​

ts
amount: CircuitAmount;

Defined in: @lelantos-org/sdk/dist/x402/mechanism.d.ts:13

Circuit units, rounded up. The denomination every wallet method uses.


asset ​

ts
asset: AssetInfo;

Defined in: @lelantos-org/sdk/dist/x402/mechanism.d.ts:15

The MASP asset the payment draws on.