Skip to content

Interface: TransactionConstructorConfig

Properties

PropertyTypeDescriptionDefined in
address`0x${string}`The address of the contract that will be calledpackages/transaction-manager/lib/Transaction.ts:55
argsreadonly unknown[]The arguments of the function that will be calledpackages/transaction-manager/lib/Transaction.ts:68
contractNamestringThis doesn't need to match the Solidity contract name but must match the contract alias of one of the contracts that you have provided when initializing the transaction manager with the ABI Managerpackages/transaction-manager/lib/Transaction.ts:64
deadline?numberThe deadline of the transaction in seconds (optional) This is used to try to cancel the transaction if it is not included in a block after the deadline to save gaspackages/transaction-manager/lib/Transaction.ts:73
functionNamestringThe function name of the contract that will be calledpackages/transaction-manager/lib/Transaction.ts:59
metadata?Record<string, unknown>Additional metadata for the transaction that can be used by your custom GasEstimatorpackages/transaction-manager/lib/Transaction.ts:77