X402PaymentRequirements
PQSafe AgentPay API Reference v0.1.0
PQSafe AgentPay API Reference / X402PaymentRequirements
Interface: X402PaymentRequirements
Defined in: pqsafe/agent-pay/src/rails/x402.ts:43
Properties
amount?
optionalamount?:string
Defined in: pqsafe/agent-pay/src/rails/x402.ts:51
Amount in token atomic units
maxTimeoutSeconds?
optionalmaxTimeoutSeconds?:number
Defined in: pqsafe/agent-pay/src/rails/x402.ts:55
Maximum age in seconds for a valid payment
network
network:
string
Defined in: pqsafe/agent-pay/src/rails/x402.ts:47
Network (e.g. “base-mainnet”, “base-sepolia”)
scheme
scheme:
string
Defined in: pqsafe/agent-pay/src/rails/x402.ts:45
Payment scheme: “exact” is the standard
to
to:
string
Defined in: pqsafe/agent-pay/src/rails/x402.ts:53
Recipient address
tokenAddress?
optionaltokenAddress?:string
Defined in: pqsafe/agent-pay/src/rails/x402.ts:49
Token contract address for payment