Creates a new wallet
The password to encrypt the wallet
Gets various infos
Broadcasts a signed transaction
The status and transaction hash, or a (maybe) error object
AbstractconnectAbstractconnectAbstractgetAbstractgetAbstractgetAbstractprepareAliasCreates a signed transaction to transfer default chain currency
The receiver's address
The amount to transfer
Optionaloptions: anyOptions
The signed transaction
prepareTransfer
AbstractprepareCreates a list of signed transactions to transfer default chain currency
A list of transfers to prepare
Options
An ordered list of signed transactions
Creates a signed transaction to transfer default chain currency
The signed transaction
Creatthis.provider = new JsonRpcProvider(this.rpc_url)es a list of signed transactions to transfer default chain currency
A list of transfers to prepare
Optionaloptions: OptionsOptions
An ordered list of signed transactions
AbstractsignSigns a message using the connected wallet
The message to sign
Optionaloptions: { Options
OptionalprivateThe signed message
AbstractsignSigns a transaction using the connected wallet
The signed transaction
AbstractsignSigns a list of transactions using the connected wallet. The transaction nonce is incremented for each transaction in order of appearance.
A list of transactions to sign
Optionaloptions: { Options
OptionalprivateAbstractverifyVerifies a message using the connected wallet
The message to verify
The signature to verify
A boolean indicating if the message was verified
Interface for local sdk exclusive methods