@midnight/ledger v3.0.2 • Readme | API
@midnight/ledger v3.0.2 / ContractCallPrototype
Class: ContractCallPrototype
A ContractCall still being assembled
Constructors
new ContractCallPrototype(address, entry_point, op, guaranteed_public_transcript, fallible_public_transcript, private_transcript_outputs, input, output, communication_commitment_rand, key_location)
new ContractCallPrototype(
address,
entry_point,
op,
guaranteed_public_transcript,
fallible_public_transcript,
private_transcript_outputs,
input,
output,
communication_commitment_rand,
key_location): ContractCallPrototype
Parameters
• address: string
The address being called
• entry_point: string
| Uint8Array
The entry point being called
• op: ContractOperation
The operation expected at this entry point
• guaranteed_public_transcript: undefined
| Transcript
<AlignedValue
>
The guaranteed transcript computed for this call
• fallible_public_transcript: undefined
| Transcript
<AlignedValue
>
The fallible transcript computed for this call
• private_transcript_outputs: AlignedValue
[]
The private transcript recorded for this call
• input: AlignedValue
The input(s) provided to this call
• output: AlignedValue
The output(s) computed from this call
• communication_commitment_rand: string
The communication randomness used for this call
• key_location: string
An identifier for how the key for this call may be looked up
Returns
Methods
toString()
toString(compact?): string
Parameters
• compact?: boolean
Returns
string