Optional
accessThe [[link-eip-2930]] access list. Storage slots included in the access list are //warmed// by preloading them, so their initial cost to fetch is guaranteed, but then each additional access is cheaper.
Optional
block8 bytes prefix of some block's ID
Optional
blockWhen 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.
Optional
chainThe chain ID for the network this transaction is valid on.
Optional
chainLast byte of genesis block ID
Optional
clausesAdd clauses to ethers.TransactionRequest
Optional
commentA comment describing the transaction request.
Optional
customA custom object, which can be passed along for network-specific values.
Optional
dataThe transaction data.
Optional
delegationThe delegation URL to use to sponsor the transaction.
Optional
dependsThe ID of the transaction that this transaction depends on.
Optional
enableWhen using call
, this enables CCIP-read, which permits the
provider to be redirected to web-based content during execution,
which is then further validated by the contract.
There are potential security implications allowing CCIP-read, as it could be used to expose the IP address or user activity during the fetch to unexpected parties.
Optional
expirationThe expiration time of the transaction. The transaction will expire after the number of blocks specified by this value.
Optional
fromThe sender of the transaction.
Optional
gasTransaction gas.
Optional
gasThe maximum amount of gas to allow this transaction to consume.
Optional
gasThe address that pays for the gas fee of the transaction simulation. If different from the caller, then a delegated transaction is simulated.
Optional
gasThe gas price to use for legacy transactions or transactions on legacy networks.
Most of the time the max*FeePerGas
is preferred.
Optional
gasCoefficient used to calculate the gas price for the transaction. Value must be between 0 and 255.
Optional
maxThe [[link-eip-1559]] maximum total fee to pay per gas. The actual value used is protocol enforced to be the block's base fee.
Optional
maxThe [[link-eip-1559]] maximum priority fee to pay per gas.
Optional
nonceNonce value for various purposes. Basic is to prevent replay attack by make transaction unique. Every transaction with same chainTag, blockRef, ... must have different nonce.
Optional
provedThe VeChainThor blockchain allows for transaction-level proof of work (PoW) and converts the proved work into extra gas price that will be used by the system to generate more reward to the block generator, the Authority Masternode, that validates the transaction. In other words, users can utilize their local computational power to make their transactions more likely to be included in a new block.
Optional
reservedA reserved field intended for features use.
In standard EVM transactions, this reserved field typically is not present. However, it's been designed to cater to VIP-191, which deals with fee delegation.
If the features
within the reserved
field is set as 1111...111
, it indicates that the transaction has been delegated.
The method to check if the transaction is delegated is:
reserved.features & 1 === 1
Optional
features?: numberTx feature bits
Optional
unused?: Uint8Array[]Unused
feature = 111101;
isDelegated = (111101 & 111111) === 111101; // false (not delegated)
feature = 111111;
isDelegated = (111111 & 111111) === 111111; // true (delegated)
For more information on the subject, refer to VIP-191.
Optional
toThe target of the transaction.
Optional
typeThe transaction type.
Optional
valueThe transaction value (in wei).
Type for transaction input
Note
Types of the properties can differ WRT ethers.TransactionRequest