TxParams
TxParams = {
gas?:bigint;gasPrice?:bigint;maxFeePerGas?:never;maxPriorityFeePerGas?:never;nonce?:number; } | {gas?:bigint;gasPrice?:never;maxFeePerGas?:bigint;maxPriorityFeePerGas?:bigint;nonce?:number; }
Defined in: src/types/txParams.ts:9
Transaction fields a write action passes through to the wallet, for the cases where the defaults are not what you want.
Fee style is either/or: give gasPrice for a legacy transaction, or maxFeePerGas /
maxPriorityFeePerGas for an EIP-1559 one. Mixing the two does not typecheck. Anything left out
is estimated.