Balances and History
Retrieve user's shielded funds and activity
Get the Account Balance
async getTotalBalance(updateState: boolean = true): Promise<bigint>Parameters
Returns
Example
const balance = await zkClient.getTotalBalance();
console.log(`Your balance in the private pool is: ${balance}`);
// output: Your balance in the private pool is: 150000000000Get the Balance Including Pending Transactions
Parameters
Returns
Example
Get the Balance Components
Parameters
Returns
Example
Get the Transaction History
Parameters
Returns
Example
Get the Compliance Report
Parameters
Returns
Example
Last updated
Was this helpful?