TxOptions
Index
Properties
optionalcommon
A Common object defining the chain and hardfork for the transaction.
Object will be internally copied so that tx behavior don’t incidentally change on future HF changes.
Default: Common object set to mainnet
and the default hardfork as defined in the Common class.
Current default hardfork: istanbul
optionalfreeze
A transaction object by default gets frozen along initialization. This gives you
strong additional security guarantees on the consistency of the tx parameters.
It also enables tx hash caching when the hash()
method is called multiple times.
If you need to deactivate the tx freeze - e.g. because you want to subclass tx and add additional properties - it is strongly encouraged that you do the freeze yourself within your code instead.
Default: true
The options for initializing a Transaction.