Accounts
Helper utilities for deriving account data from addresses or transactions.
Data Types
Functions
Returns a hex representation of the provided account id.
Returns an Account object from the provided ECDSA hash.
Returns an Account object from the provided string. Accepts either an account id or ECDSA hash.
Converts the provided AccountLike data to an AccountId.
hethers.utils.getAccountFromTransactionId( transactionId: string) => string
hethers.utils.getAccountFromTransactionId( transactionId: string) => string
Accepts a valid TransactionId and extracts the accountId of the transation sender. Throws an INVALID_ARGUMENT
error If an invalid transactionId is provided.
Last updated