Skip to main content

Get Private Balance

Retrieve your private ETH or ERC-20 balance from a Privacy Cash EVM pool.

Parameters

Returns

Example


How Balance Works

getBalance() scans all on-chain NewCommitment events emitted by the Privacy Cash contract and attempts to decrypt each one using your derived encryption key. UTXOs that decrypt successfully and have not been spent are summed to produce your total balance. No private key or encryption key is ever sent off-device — all decryption happens locally.

Supported Tokens

Privacy Cash EVM currently supports these token pools: