Skip to content
Integra Protocol
API

@integraledger/lcp/x402-exact-stellar

The exports of @integraledger/lcp/x402-exact-stellar.

Interfaces

StellarChoice

Properties

PropertyType
acceptedPaymentRequirements
currentLedgernumber
requiredPaymentRequired
simulatedXdrstring

StellarPaymentPayload

A payment on this pairing: the base64 XDR of the transaction with the payer's entry signed.

Properties

PropertyType
acceptedPaymentRequirements
extensions?object
payloadobject
payload.transactionstring
resource?object
resource.urlstring
x402Version2

Variables

exactStellar

const exactStellar: 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: readonly PaymentRequirements[]; 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

ParameterType
optionPaymentRequirements

Returns

"x402/exact/stellar" | undefined

Last updated on

On this page