Applied Zcash

Pattern · Experimental

Batch payouts

A sender writes one ZIP 321 payment link with many payments. One wallet makes one shielded transaction. Each recipient receives its amount and its memo.

The sender signs one transaction for the whole batch. This pattern is for payrolls, bounty payouts, grant payouts and refund batches. See Payment links for the base pattern.

Warning

This pattern is a proposal. Some wallets do not accept a URI with more than one payment. See Wallet support.

Problem

An app has one sender and many recipients. Each recipient needs its own amount and its own memo. The sender wants one confirmation and one on-chain transaction.

Without this pattern, the app writes one payment link for each recipient. The sender signs one transaction for each link. Thus, 20 recipients need 20 confirmations and 20 transactions. The total fee for 20 transactions is more than the fee for one.

When to use this pattern

Use it in these conditions:

A different design is better in these conditions:

Use cases

Mechanism

Sender
A person or a program with a shielded wallet.
Recipient
A person or a service with a shielded address.
App
A web page or a script. It reads a list of rows and writes the URI.
Row
One recipient address, one amount, and one memo.
URI
A ZIP 321 payment link. One payment per row.
  1. The app reads the list of rows.
  2. The app checks each row. If one row has an error, the app stops and writes no URI.
  3. The app writes one ZIP 321 URI with one payment for each row.
  4. The app shows the URI as text and as a QR code.
  5. The sender opens the URI in a shielded wallet.
  6. The wallet shows one confirmation screen with all the payments.
  7. The sender signs one transaction.
  8. The wallet pays each recipient the row amount. Each recipient receives the row memo in its note.

Indexed parameters

For many payments, the parameter names have an index (ZIP 321). The first payment can have no index. Each later payment has an index after its parameter name.

zcash:?address=<addr1>&amount=<amt1>&memo=<memo1>
      &address.2=<addr2>&amount.2=<amt2>&memo.2=<memo2>
      &address.3=<addr3>&amount.3=<amt3>&memo.3=<memo3>

The index is in the range 1 to 9999. One payment can have no index. All parameters of one payment have the same index. The parameters can be in any order in the URI.

Partial payment

Some wallets read the first payment only. The wallet shows a send screen with one recipient. The sender does not see the other payments. Thus, the sender signs a partial payment. The wallet shows no error.

An app cannot know the wallet of the sender from the URI. As a check, the app shows the number of payments and the total. The sender compares the two values with the confirmation screen of the wallet. See Wallet support.

Cost

Wallet support

The support of each tested wallet for multi-payment ZIP 321 URIs is in the table. The results are from November 2026. The tester used one URI with two or three payments to unified addresses. Each payment had a different amount and a different memo.

Warning

With a partial payment, the wallet pays one recipient of a batch. The sender sees one confirmation, and the batch looks complete. The other recipients receive nothing.

Wallet Version Network Result
Zkool 6.35.0 Testnet Accepts. Shows each payment with its own address, amount and memo.
Zingo PC 2.0.29 (206) Testnet Accepts. Shows each payment with its own address, amount and memo, and the total.
Zingo mobile 2.1.1 (323) Testnet Partial payment. Reads payment 1 only. Ignores the other payments. The test transaction is 3db48157…27bb.
Vizor 0.0.65 Mainnet Partial payment. Reads payment 1 only. Ignores the other payments.
Zodl 3.19.0 Mainnet Partial payment. Reads payment 1 only. Ignores the other payments.

The Zcash Open Development Lab changed the name of the Zashi wallet to Zodl in February 2026. See the announcement on the Zcash community forum.

To add a wallet to this list, test the multi-payment URI on the chosen network. Open a pull request with the wallet name, version, network and result.

Limits

Spec

This pattern uses the existing protocol. ZIP 321 payment links and ZIP 302 memos are all that is necessary. The URI has these parameters for each payment:

address[.N]  the recipient address, unified or shielded
amount[.N]   the payment amount in ZEC, decimal
memo[.N]     the memo as base64url, no padding
label[.N]    an optional short name of the recipient
message[.N]  an optional message about this payment

The index N is in the range 1 to 9999. The first payment can have no index. The same index applies to each parameter of one payment. A transparent address has no memo. A URI with a memo for a transparent address is invalid.

A valid URI has one payment or more. A URI with one payment is a Payment link.

Demo: a small batch

The demo writes one ZIP 321 URI from three rows. Each row has an address, an amount and a memo. Add or remove rows. The demo updates the URI and the QR code after each change.

Caution

The sample addresses are Testnet. Do not send Mainnet funds to these addresses.

Demo

Wait

Toy example

A lab runs a quarterly grant round. The round has three winners. Each wins a different amount.

Grant round values
Winner  Amount    Memo
Alice   0.5 ZEC   grant/2026Q4/winner-1
Bob     0.3 ZEC   grant/2026Q4/winner-2
Carol   0.2 ZEC   grant/2026Q4/winner-3

The lab writes one ZIP 321 URI with three payments. The treasurer opens the URI in a wallet that accepts multi-payment URIs. The treasurer signs one transaction. The three winners each receive one note with the grant round memo.

Change this page on GitHub