OptionalchainId: numberOptionalisEIP1559: booleanConnects to the EVM network
OptionalchainId: number(Optional) The chainId of this network
OptionalisEIP1559: boolean(Optional) Whether this network uses EIP-1559
A boolean indicating whether the connection was successful
When parameters are not provided, they are automatically inferred from the network.
Creates a skeleton transaction
Get the balance of a token
The address of the token contract
The address of the wallet
The balance of the token
AliasCreates a signed transaction to transfer default chain currency
The amount to transfer
Optionaloptions: { Options
OptionalgasThe signed transaction
prepareTransfer
Creates a list of signed transactions to transfer default chain currency
A list of transfers to prepare
Optionaloptions: { Options
OptionalgasAn 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
Broadcasts a signed transaction
The signed transaction
The status and transaction hash, or a (maybe) error object
Signs 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
OptionalprivateStaticcreateStaticcreateStaticgetThe static method that controls the access to the singleton instance.
This implementation let you subclass the Singleton class while keeping just one instance of each subclass around.
Interface for local sdk exclusive methods