ContractOptions
Index
Properties
Accessors
Properties
optionaladdress
The address used for this contract instance. All transactions generated by web3.js from this contract will contain this address as the to
.
The address will be stored in lowercase.
optionalreadonlydata
The byte code of the contract. Used when the contract gets deployed
optionalreadonlyfrom
The address transactions should be made from.
optionalreadonlygas
The maximum gas provided for a transaction (gas limit).
optionalreadonlygasPrice
The gas price in wei to use for transactions.
optionalreadonlyinput
The byte code of the contract. Used when the contract gets deployed
optionalmaxFeePerGas
The max fee per gas to use for transactions.
optionalmaxPriorityFeePerGas
The max priority fee per gas to use for transactions.
Accessors
jsonInterface
The json interface object derived from the ABI of this contract.
Re-setting this will regenerate the methods and events of the contract instance.
Returns ContractAbiWithSignature
Parameters
value: ContractAbi
Returns void
Represents the options for a contract.