Assemble a Batch (XLS-56) of Confidential MPT (XLS-0096) inner transactions.
Takes the outer Batch account and an ordered list of inners — each either a
confidential operation spec or a pre-built plain transaction — and returns a
fully-assembled, autofilled Batch ready to sign. The assembler owns everything
that makes confidential-in-a-Batch subtle: it assigns each inner its
position-derived sequence (a confidential proof binds its sequence, so it must
be built with the final value — autofill cannot fix a proof afterward), threads
predicted balance state through repeated same-(account, token) operations (each
proof binds the balance the previous inner leaves behind), shapes every inner
(tfInnerBatchTxn, Fee: '0'), and autofills the outer fee — pass signersCount/
sponsorSignersCount for a multisigned or multi-account Batch so that fee also
covers the extra signatures (see ConfidentialBatchParams). Signing stays
with the caller: signMultiBatch for each non-outer participant, then the outer
account signs.
A plain (non-confidential) inner that already carries its own Sequence or
TicketSequence is passed through untouched; otherwise it is assigned a
position-derived sequence, mirroring how autofill sequences a Batch.
If inners has fewer than 2 or more than 8 entries (rippled's
Batch bounds), or a chain reads a balance a prior MergeInbox/Clawback reset (split
those into separate Batches).
Assemble a Batch (XLS-56) of Confidential MPT (XLS-0096) inner transactions.
Takes the outer Batch account and an ordered list of inners — each either a confidential operation spec or a pre-built plain transaction — and returns a fully-assembled, autofilled Batch ready to sign. The assembler owns everything that makes confidential-in-a-Batch subtle: it assigns each inner its position-derived sequence (a confidential proof binds its sequence, so it must be built with the final value —
autofillcannot fix a proof afterward), threads predicted balance state through repeated same-(account, token)operations (each proof binds the balance the previous inner leaves behind), shapes every inner (tfInnerBatchTxn,Fee: '0'), and autofills the outer fee — passsignersCount/sponsorSignersCountfor a multisigned or multi-account Batch so that fee also covers the extra signatures (see ConfidentialBatchParams). Signing stays with the caller:signMultiBatchfor each non-outer participant, then the outer account signs.A plain (non-confidential) inner that already carries its own
SequenceorTicketSequenceis passed through untouched; otherwise it is assigned a position-derived sequence, mirroring howautofillsequences a Batch.