Connects 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
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
create
Interface for web sdk exclusive methods