An unsigned transaction represents a transaction that has not been signed.
unsignedTransaction . nonce ⇒ number
unsignedTransaction . chainId ⇒ number
A generic object to represent a transaction.
unsignedTransaction . nonce ⇒ number
unsignedTransaction . chainId ⇒ number
unsignedTransaction . v ⇒ number
Compute the address of publicOrPrivateKey. If a public key is provided, it may be either compressed or uncompressed.
Parses the transaction properties from a serialized transactions.
Computes the address that signed digest to get aSignatureLike using the ecrecover algorithm.
Computes the serialized transaction/, optionally signed with signature//. If signature is not presented, the unsigned serialized transaction is returned, which can be used to compute the hash necessary to sign.
This function uses EIP-155 if a chainId is provided, otherwise legacy serialization is used. It is highly recommended to always specify a chainId.
The content of this site is licensed under the Creative Commons Attribution 4.0 International License.