PrePartitionContractCall
@midnight/ledger / PrePartitionContractCall
Class: PrePartitionContractCall
A ContractCall prior to being partitioned into guarnateed and fallible parts, for use with Transaction.addCalls.
Note that this is similar, but not the same as ContractCall, which assumes partitionTranscripts was already used. Transaction.addCalls is a replacement for this that also handles Zswap components, and creates relevant intents when needed.
Constructors
Constructor
new PrePartitionContractCall(
address,
entry_point,
op,
pre_transcript,
private_transcript_outputs,
input,
output,
communication_commitment_rand,
key_location): PrePartitionContractCall;
Parameters
address
string
entry_point
string | Uint8Array<ArrayBufferLike>
op
pre_transcript
private_transcript_outputs
input
output
communication_commitment_rand
string
key_location
string
Returns
PrePartitionContractCall
Methods
toString()
toString(compact?): string;
Parameters
compact?
boolean
Returns
string