Create a new wallet.
List of accounts in the wallet.
Optionaloptions: { Optional options for signing a transaction with gasPayer.
OptionalgasReadonlyaccountsList of accounts in the wallet.
Optional ReadonlygasOptions for signing a transaction with gasPayer.
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: