A deployment transaction for a contract.

Extends

Properties

PropertyTypeDescriptionInherited from
accessList?AccessListThe EIP-2930 access list. Storage slots included in the access list
are warmed by pre-loading them, so their initial cost to fetch is guaranteed, but then each additional access is
cheaper.
Omit.accessList
blockTag?BlockTagWhen using call or estimateGas, this allows a specific block to be queried. Many backends do not support this
and when unsupported errors are silently squelched and "latest" is used.
Omit.blockTag
chainId?bigintThe chain ID for the network this transaction is valid on.Omit.chainId
customData?anyA custom object, which can be passed along for network-specific values.Omit.customData
datastringThe transaction data.Omit.data
fromstringThe from address, if any.Omit.from
gasLimit?bigintThe maximum amount of gas to allow this transaction to consume.Omit.gasLimit
gasPrice?bigintThe gas price to use for the transaction.Omit.gasPrice
minerTip?bigintThe fee paid directly to the miner of the transaction.Omit.minerTip
nonce?numberThe nonce of the transaction, used to prevent replay attacks.Omit.nonce
type?numberThe transaction type.Omit.type
value?bigintThe transaction value (in wei).Omit.value