Skip to content

X402ExactEvmAuthorization

Defined in: src/x402/types.ts:168

EIP-3009 TransferWithAuthorization parameters in wire format.

Note that value, validAfter, and validBefore are decimal strings here (uint256-safe over JSON), whereas the in-process EIP-712 signing helpers in src/tokens/eip3009.ts use bigint. Converters between the two representations live in src/x402/encoding.ts.

nonce is a 0x-prefixed 32-byte hex string — generate one with generateAuthorizationNonce from src/tokens/eip3009.ts.

Properties

from

readonly from: `0x${string}`

Defined in: src/x402/types.ts:169


nonce

readonly nonce: `0x${string}`

Defined in: src/x402/types.ts:174


to

readonly to: `0x${string}`

Defined in: src/x402/types.ts:170


validAfter

readonly validAfter: string

Defined in: src/x402/types.ts:172


validBefore

readonly validBefore: string

Defined in: src/x402/types.ts:173


value

readonly value: string

Defined in: src/x402/types.ts:171