Optional
chainId: numberOptional
isEIP1559: booleanConnects to the EVM network
Optional
chainId: number(Optional) The chainId of this network
Optional
isEIP1559: 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
Alias
Creates a signed transaction to transfer default chain currency
The amount to transfer
Optional
options: { Options
Optional
gasThe signed transaction
prepareTransfer
Creates a list of signed transactions to transfer default chain currency
A list of transfers to prepare
Optional
options: { Options
Optional
gasAn 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
Optional
options: 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
Optional
options: { Options
Optional
privateStatic
createStatic
createStatic
getThe 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