Account State
Low-level routines to interact with the a local Merkle tree
Sync the Local State
async updateState(): Promise<boolean>Returns
Example
await zkClient.updateState()
console.log('Your local state has been updated');
// output: Your local state has been updatedCheck Transaction Sending Ability
async isReadyToTransact(): Promise<boolean>Returns
Example
Wait for Transaction Sending Ability
Returns
Example
Get the Local State
Parameters
Returns
Example
Clean the Local State
Example
Rollback the Local State
Parameters
Returns
Example
Last updated
Was this helpful?