Interface X402TokenOptions

Options for x402 token generation that control scheme and delegation behavior.

interface X402TokenOptions {
    delegationConfig?: DelegationConfig;
    network?: string;
    scheme?: X402SchemeType;
}

Properties

delegationConfig?: DelegationConfig

Delegation configuration for both erc4337 and card-delegation schemes

network?: string

Network identifier (auto-derived from scheme if omitted)

The x402 scheme to use (defaults to 'nvm:erc4337')