EvmConfig
Defined in: wallet-evm/src/types.ts:10
Options for an EVM wallet manager or account: endpoints, chain id, fee caps and the pre-sign safety checks.
Properties
Section titled “Properties”allowBurn?
Section titled “allowBurn?”
optionalallowBurn?:boolean
Defined in: wallet-evm/src/types.ts:41
Allow value transfers to the zero address (refused by default — UnsafeTransactionError).
allowCrossChainTypedData?
Section titled “allowCrossChainTypedData?”
optionalallowCrossChainTypedData?:boolean
Defined in: wallet-evm/src/types.ts:43
Allow signing typed data whose domain names another chain (refused by default — ChainMismatchError).
autoResetAllowance?
Section titled “autoResetAllowance?”
optionalautoResetAllowance?:boolean
Defined in: wallet-evm/src/types.ts:29
Ethereum-mainnet USDT reverts a non-zero → non-zero approve. By default the account
throws and asks the caller to approve(0) first; with this flag the account sends the
reset itself and waits for it before the real approval.
chainId?
Section titled “chainId?”
optionalchainId?:number
Defined in: wallet-evm/src/types.ts:16
Skip chain-id detection. Required for offline signing when the tx omits chainId.
gasHeadroom?
Section titled “gasHeadroom?”
optionalgasHeadroom?:number
Defined in: wallet-evm/src/types.ts:39
Multiplier applied to an ESTIMATED gas limit (simulation / estimateGas) when the caller passes none. Default 1.2; 1 = no headroom.
provider?
Section titled “provider?”
optionalprovider?:EvmProvider|EvmProvider[]
Defined in: wallet-evm/src/types.ts:12
RPC url(s) or EIP-1193 provider(s). A list fails over in order. Omit for an offline (sign-only) wallet.
retries?
Section titled “retries?”
optionalretries?:number
Defined in: wallet-evm/src/types.ts:14
Extra attempts after the first failure across the provider list (default 3).
simulate?
Section titled “simulate?”
optionalsimulate?:boolean
Defined in: wallet-evm/src/types.ts:34
eth_call every transaction before signing it and refuse on revert
(SimulationError). Default true whenever a provider is configured.
transactionMaxFee?
Section titled “transactionMaxFee?”
optionaltransactionMaxFee?:number|bigint
Defined in: wallet-evm/src/types.ts:23
Max fee (wei) for sendTransaction / signTransaction, checked the same way on the caller’s own fee fields too.
transferMaxFee?
Section titled “transferMaxFee?”
optionaltransferMaxFee?:number|bigint
Defined in: wallet-evm/src/types.ts:21
Max fee (wei) for transfer: the signed transaction’s gas limit × fee cap (gasPrice or
maxFeePerGas) above it throws before anything is signed.