Create a new wallet.
List of accounts in the wallet.
Optional
options: { Optional options for signing a transaction with gasPayer.
Optional
gasReadonly
accountsList of accounts in the wallet.
Optional
Readonly
gasOptions for signing a transaction with gasPayer.
Get an account given an address or an index.
Optional
addressOrIndex: 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.
Optional
addressOrIndex: 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.
Optional
addressOrIndex: 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.
Optional
addressOrIndex: 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: