Contract
ContractDeployTransaction
A deployment transaction for a contract.
Extends
Omit
<ContractTransaction
,"to"
>
Properties
Property | Type | Description | Inherited from |
---|---|---|---|
accessList? | AccessList | The 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? | BlockTag | When using call or estimateGas , this allows a specific block to be queried. Many backends do not support thisand when unsupported errors are silently squelched and "latest" is used. | Omit.blockTag |
chainId? | bigint | The chain ID for the network this transaction is valid on. | Omit.chainId |
customData? | any | A custom object, which can be passed along for network-specific values. | Omit.customData |
data | string | The transaction data. | Omit.data |
from | string | The from address, if any. | Omit.from |
gasLimit? | bigint | The maximum amount of gas to allow this transaction to consume. | Omit.gasLimit |
gasPrice? | bigint | The gas price to use for the transaction. | Omit.gasPrice |
minerTip? | bigint | The fee paid directly to the miner of the transaction. | Omit.minerTip |
nonce? | number | The nonce of the transaction, used to prevent replay attacks. | Omit.nonce |
type? | number | The transaction type. | Omit.type |
value? | bigint | The transaction value (in wei). | Omit.value |
Was this page helpful?