Skip to main content

Installation

Basic Example

Build a transaction that sends from a transparent input to a shielded Orchard address:

Key Concepts

A Partially Constructed Zcash Transaction (PCZT) is a standardized format for building Zcash transactions incrementally. It allows different parties to add inputs, signatures, and proofs without needing access to all private keys.Learn more about PCZT →
Block explorers display transaction IDs in big-endian (human-readable) format, but Zcash internally uses little-endian. When using a txid from an explorer, you need to reverse the bytes.
Every Zcash transaction has an expiry height - the block height after which the transaction is no longer valid. You should set this to currentBlockHeight + 40 or more to avoid “tx-expiring-soon” errors.

Next Steps

Understand the Flow

Learn each step of the transaction process in detail.

Core Concepts

Deep dive into PCZT, Orchard, and Zcash fundamentals.

Try the Demo

Build a transaction interactively in your browser.

API Reference

Complete function documentation.