Installation
- TypeScript
- Go
- Kotlin
Basic Example
Build a transaction that sends from a transparent input to a shielded Orchard address:- TypeScript
- Go
- Kotlin
Key Concepts
What is a PCZT?
What is a PCZT?
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 →
Why little-endian for txids?
Why little-endian for txids?
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.
What's the expiry height?
What's the expiry height?
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.
