Skip to content

CreateX402PaymentSignerParams

CreateX402PaymentSignerParams = CreateX402PaymentSignerAccountParams | CreateX402PaymentSignerSignerParams

Defined in: src/x402/client.ts:160

Parameters for createX402PaymentSigner — a discriminated union of the account (EOA) and signer (PolicyGatedSigner) variants.

NOTE: type-level breaking change from the original interface (a union cannot be extends-ed). Existing { account, asset, network } callers are value-assignable to the account arm and unaffected; consumers who extends / declaration-merge should use CreateX402PaymentSignerAccountParams.