Function: buildPaymentPayload()¶
Defined in: rine-core/dist/src/x402/pay.d.ts:43
Build and sign a PaymentPayload for a chosen requirement. The
signer pins to/value/asset/network inside the EIP-712 signature, so a
relayer or facilitator cannot redirect funds. Echoes resource/extensions
and the chosen requirement (accepted) verbatim per the x402 contract.
Parameters¶
| Parameter | Type |
|---|---|
pr |
PaymentRequired |
requirement |
PaymentRequirements |
walletPrivateKey |
Uint8Array |
opts? |
BuildPaymentOptions |