For the complete documentation index, see llms.txt. This page is also available as Markdown.

SDK reference

Welcome to the SDK reference!

API reference for the core @zama-fhe/sdk package. Each page documents a single class or utility with constructor options, methods, properties, and working code examples.

Where to go next

🟨 Go to ZamaSDK for the main entry point β€” creates tokens, manages sessions, and coordinates the relayer and signer.

🟨 Go to Token for the base ERC-7984 confidential token operations β€” balance decryption, transfers, operator approvals.

🟨 Go to WrappedToken for ERC-7984 ERC-20 wrapper operations β€” shield, unshield, allowance.

🟨 Go to web() transport for browser-side FHE encryption via bundled WASM.

🟨 Go to node() transport for server-side FHE operations in Node.js.

🟨 Go to Network presets for pre-configured contract addresses on Sepolia, Mainnet, and Hardhat.

🟨 Go to Errors for the full list of SDK error types and codes.

Help center

Ask technical questions, discuss with the community, or report a bug.

Last updated