Measured figures

Measured figures

Compute units and transaction counts for each flow, measured on a local validator.

These numbers come from running each flow through the SDK and reading back what the transactions used. Measured on: localnet, Agave 4.3.0, mainnet feature set and Token-2022 binary (2026-12-02).

By action

What one action costs as the app runs it, from the press of the button to done.

ActionMade ofTransactionsCompute units
Deposit SOL into a new accountSet up, deposit, apply364,700
Deposit SOLDeposit, apply233,691
Deposit USDC into a new accountSet up, deposit, apply372,007
Deposit USDCDeposit, apply240,998
SendProofs and transfer6251,926
ReceiveApply18,158
Withdraw SOLEncrypted step, release5146,511
Withdraw USDCEncrypted step, release5176,221

By flow

Each flow as measured, with its transactions in the order they are sent.

FlowTransactionsCompute unitsLargest transaction, bytesSteps
Set up131,009574Set up account
Deposit SOL125,533476Deposit
Deposit USDC132,840542Deposit
Apply18,158291Apply pending
Send6251,9261,046Equality proof, Ciphertext validity proof, Stage range proof, Stage range proof, Range proof, Send
Withdraw SOL, encrypted step4133,7511,046Equality proof, Stage range proof, Range proof, Withdraw to public balance
Withdraw SOL, release112,760426Release
Withdraw USDC, encrypted step4133,7511,046Equality proof, Stage range proof, Range proof, Withdraw to public balance
Withdraw USDC, release142,470632Release

Compute units are the total across the flow's transactions. The encrypted step of a withdraw is the same work for both assets. The release differs because USDC moves through the token program and SOL moves as lamports.

Transaction size

A Solana transaction holds 1,232 bytes. The largest transaction in any flow is 1,046, which leaves 186 bytes for the instructions some wallets add when they sign. Every transaction sets its own compute limit.

Where the compute goes

Most of a send's and a withdraw's compute is proof verification. Proofs lists what the proof program spends on each kind of proof.