x402_build_payment_payload
Assembles an x402 payment payload from a signed EIP-3009 authorization for use in the X-PAYMENT header.
Instructions
Assemble the x402 paymentPayload from a signed EIP-3009 authorization, ready to send in the X-PAYMENT header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| nonce | Yes | ||
| value | Yes | Base units | |
| signature | Yes | ||
| validAfter | Yes | ||
| validBefore | Yes |