PaymentGateOptions
Defined in: gate.ts:65
Properties
Section titled “Properties”escrow?
Section titled “escrow?”
optionalescrow?:`0x${string}`
Defined in: gate.ts:68
Offer pq-erc20: payments settled by this PQ402Escrow.
facilitator
Section titled “facilitator”facilitator:
Facilitator
Defined in: gate.ts:72
Must serve every scheme offered (an x402Facilitator with both registered, for example).
gateway?
Section titled “gateway?”
optionalgateway?:GatewayIdentity
Defined in: gate.ts:76
Enables the pq402-sealing extension: sealed bodies and signed receipts.
kemKeys
Section titled “kemKeys”kemKeys:
object
Defined in: gate.ts:74
Reads the payer’s ML-KEM-1024 key from the KEM registry, to seal responses.
kemKey()
Section titled “kemKey()”kemKey(
account):Promise<Uint8Array<ArrayBufferLike>>
Parameters
Section titled “Parameters”account
Section titled “account”`0x${string}`
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
maxTimeoutSeconds?
Section titled “maxTimeoutSeconds?”
optionalmaxTimeoutSeconds?:number
Defined in: gate.ts:79
network
Section titled “network”network:
QoreNetwork
Defined in: gate.ts:66
optionalnow?: () =>number
Defined in: gate.ts:80
Returns
Section titled “Returns”number
routes
Section titled “routes”routes:
Record<string,PaidRoute>
Defined in: gate.ts:78
Paid routes keyed by "METHOD /path" (no query).
vault?
Section titled “vault?”
optionalvault?:`0x${string}`
Defined in: gate.ts:70
Offer pq-perennial: payments made as spend actions of this Perennial vault.