@integraledger/lcp/x402-exact-stellar
The exports of @integraledger/lcp/x402-exact-stellar.
Interfaces
StellarChoice
Properties
| Property | Type |
|---|---|
accepted | PaymentRequirements |
currentLedger | number |
required | PaymentRequired |
simulatedXdr | string |
StellarPaymentPayload
A payment on this pairing: the base64 XDR of the transaction with the payer's entry signed.
Properties
| Property | Type |
|---|---|
accepted | PaymentRequirements |
extensions? | object |
payload | object |
payload.transaction | string |
resource? | object |
resource.url | string |
x402Version | 2 |
Variables
exactStellar
constexactStellar:Readonly<{advertise: (doc,h,link,offer,agreementUrl?) =>Refusal|PaymentRequired;bound: (presented) =>Promise<`0x${string}`|Refusal>;build: (c,h) =>Promise<Refusal|StellarUnsigned>;carrier:"payTo";claims:boolean;id:"x402/exact/stellar";pattern:LcpPattern;read: (doc) =>Refusal|X402Read;reference: (presented) =>Promise<Refusal|StellarRef>;status: (ref,reader) =>Promise<StellarStatus>;tie: (accepts,request) => ["x402", {accepts: readonlyPaymentRequirements[];request:RequestCommitment; }];unplaced: (option) =>PaymentRequirements; }>
Functions
pairingOf()
pairingOf(
option):"x402/exact/stellar"|undefined
This pairing's id for an option it can pay, or undefined.
Parameters
| Parameter | Type |
|---|---|
option | PaymentRequirements |
Returns
"x402/exact/stellar" | undefined
Last updated on