An ordered collection of AccessList entries.
A single AccessList entry of storage keys (slots) for an address.
Any ethers-supported access list structure.
Returns a AccessList from any ethers-supported access-list structure.
Returns the address for the key.
The key may be any standard form of public key or a private key.
Returns the recovered address for the private key that was used to sign digest that resulted in signature.
The access list.
An access list permits discounted (but pre-paid) access to bytecode and state variable access within contract execution.
The chain ID this transaction is valid on.
The transaction data. For init transactions this is the deployment code.
The sending address, if signed. Otherwise, null.
The public key of the sender, if signed. Otherwise, null.
The gas limit.
The gas price.
On legacy networks this defines the fee that will be paid. On EIP-1559 networks, this should be null.
The transaction hash, if signed. Otherwise, null.
The maximum total fee per unit of gas to pay. On legacy networks this should be null.
The maximum priority fee per unit of gas to pay. On legacy networks this should be null.
The transaction nonce.
The serialized transaction.
This throws if the transaction is unsigned. For the pre-image, use unsignedSerialized.
The to address for the transaction or null if the transaction is an init transaction.
The transaction type.
If null, the type will be automatically inferred based on explicit properties.
The name of the transaction type.
The pre-image hash of this transaction.
This is the digest that a Signer must sign to authorize this transaction.
The transaction pre-image.
The hash of this is the digest which needs to be signed to authorize this transaction.
The amount of ether to send in this transactions.
Creates a new Transaction with default values.
Create a Transaction from a serialized transaction or a Transaction-like object.
Create a copy of this transaciton.
Return the most "likely" type; currently the highest supported transaction type.
Validates the explicit properties and returns a list of compatible transaction types.
Returns true if this transaction is berlin hardform transaction (i.e. type === 1).
This provides a Type Guard that the related properties are non-null.
Returns true if this transaction is a legacy transaction (i.e. type === 0).
This provides a Type Guard that the related properties are non-null.
Returns true if this transaction is london hardform transaction (i.e. type === 2).
This provides a Type Guard that the related properties are non-null.
Returns true if signed.
This provides a Type Guard that properties requiring a signed transaction are non-null.
Return a JSON-friendly object.
The access list for berlin and london transactions.
The chain ID the transaction is valid on.
The data.
The sender.
The maximum amount of gas that can be used.
The gas price for legacy and berlin transactions.
The transaction hash.
The maximum total fee per gas for london transactions.
The maximum priority fee per gas for london transactions.
The nonce.
The signature provided by the sender.
The recipient address or null for an init transaction.
The type.
The value (in wei) to send.