Skip to main content
Version: Devnet (v3.0.0-devnet.6-patch.1)

TypeScript API Reference

This section provides API reference documentation for the Aztec TypeScript packages. These packages enable developers to build applications on Aztec, from simple contract interactions to complex privacy-preserving protocols.

Package Categories

Client SDKs

Packages for building Aztec applications:

PackageDescription
@aztec/aztec.jsMain SDK for building Aztec applications. Provides contract deployment, transaction creation, and account management.
@aztec/accountsSample account contract implementations including ECDSA and Schnorr accounts.
@aztec/pxePrivate eXecution Environment client library for orchestrating private transaction execution and proving.
@aztec/wallet-sdkWallet SDK for browser and extension integrations.
@aztec/entrypointsTransaction entrypoint implementations for account abstraction.

Core Libraries

Foundational types and utilities used across the Aztec stack:

PackageDescription
@aztec/stdlibProtocol-level types including transactions, blocks, proofs, and kernel circuit types.
note

Common types like Fr, AztecAddress, and EthAddress are re-exported through @aztec/aztec.js subpaths (e.g., @aztec/aztec.js/fields, @aztec/aztec.js/addresses). Most developers won't need to import from @aztec/stdlib directly.

LLM-Optimized Documentation

For LLM consumption, we provide machine-readable documentation in multiple formats:

  • llms.txt - Full documentation optimized for LLM context
  • LLM Summary - Human-readable API summary

Markdown API Files

The following markdown files are available for LLM context inclusion at /typescript-api/devnet/:

FileDescription
llm-summary.txtHuman-readable summary with package overview
aztec.js.mdMain SDK - contracts, transactions, accounts
accounts.mdAccount implementations (ECDSA, Schnorr)
pxe.mdPrivate execution environment client
wallet-sdk.mdBrowser/extension wallet integration
entrypoints.mdTransaction entrypoints for account abstraction
stdlib.mdProtocol types (transactions, blocks, proofs)