Skip to main content

ContractInitOptions

Index

Properties

optionalreadonlydata

data?: Bytes

The byte code of the contract. Used when the contract gets deployed

optionalreadonlydataInputFill

dataInputFill?: input | data | both

optionalreadonlyfrom

from?: string

The address transactions should be made from

optionalreadonlygas

gas?: string

The maximum gas provided for a transaction (gas limit).

optionalreadonlygasLimit

gasLimit?: string

optionalreadonlygasPrice

gasPrice?: string

The gas price in wei to use for transactions.

optionalreadonlyinput

input?: Bytes

optionalreadonlyprovider

provider?: string | SupportedProviders<EthExecutionAPI>

optionalreadonlysyncWithContext

syncWithContext?: boolean

If true, the defaults of the contract instance will be updated automatically based on the changes of the context used to instantiate the contract.