partitionTranscripts
@midnight-ntwrk/ledger v3.0.2 • Readme | API
@midnight-ntwrk/ledger v3.0.2 / partitionTranscripts
Function: partitionTranscripts()
partitionTranscripts(calls, params): [Transcript<AlignedValue> | undefined, Transcript<AlignedValue> | undefined][]
Finalizes a set of programs against their initial contexts, resulting in guaranteed and fallible Transcripts, optimally allocated, and heuristically covered for gas fees.
Parameters
• calls: PreTranscript[]
• params: LedgerParameters
Returns
[Transcript<AlignedValue> | undefined, Transcript<AlignedValue> | undefined][]