Create a new HD wallet.
Mnemonic of the wallet as an array of words.
Number of accounts to generate.
Initial index of the accounts to generate.
Derivation path of the wallet.
Optionaloptions: { Options for signing a transaction with gasPayer.
OptionalgasReadonlyaccountsList of accounts in the wallet.
ReadonlycountNumber of accounts to generate.
ReadonlyderivationDerivation path of the wallet.
Optional ReadonlygasOptions for signing a transaction with gasPayer.
ReadonlyinitialInitial index of the accounts to generate.
ReadonlymnemonicMnemonic of the wallet.
Get an account given an address or an index.
OptionaladdressOrIndex: string | numberAddress or index of the account.
The account with the given address, or null if not found.
SYNC Version of getAccount()
Get an account given an address or an index.
OptionaladdressOrIndex: string | numberAddress or index of the account.
The account with the given address, or null if not found.
Get the options for signing a transaction with gasPayer (if any).
The options for signing a transaction with gasPayer.
SYNC Version of getGasPayer()
Get the options for signing a transaction with gasPayer (if any).
The options for signing a transaction with gasPayer.
Get a signer into the internal wallet provider for the given address.
The parent provider of the Internal Wallet.
OptionaladdressOrIndex: string | numberAddress of the account.
The signer for the given address.
SYNC Version of getSigner()
Get a signer into the internal wallet provider for the given address.
The parent provider of the Internal Wallet.
OptionaladdressOrIndex: string | numberAddress or index of the account.
The signer for the given address.
Provider internal Base wallet class.
This is the most basic wallet implementation we can have: