Skip to main content

API Reference

Full reference for the @zk-privacy/eb-sdk and @zk-privacy/eb-contracts packages.

PageDescription
Setup & ConfigurationcreateClient, EBClient, key derivation, address encoding, contract addresses
Wallet APIEBWallet — balances, shield, transfer, unshield, registration, history
L3 Stakingstake(), unstake(), getStakes(), transferFromStealth()
Stealth Addressesstealth.create(), .list(), .getBalances(), auto-stake watcher, recovery
Swap APISwapClient — offers, rate calculations, atomic swap execution
ContractsABIs, deployment addresses, events
TypesAll TypeScript interfaces and type definitions
Low-Level ExportsGrumpkin curve, ElGamal, DLog solver, L3 crypto, stealth derivation