Skip to main content

ContractCallPrototype

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / ContractCallPrototype

Class: ContractCallPrototype

A ContractCall still being assembled

Constructors​

Constructor​

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​

The entry point being called

string | Uint8Array<ArrayBufferLike>

op​

ContractOperation

The operation expected at this entry point

guaranteed_public_transcript​

The guaranteed transcript computed for this call

undefined | Transcript<AlignedValue>

fallible_public_transcript​

The fallible transcript computed for this call

undefined | Transcript<AlignedValue>

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​

ContractCallPrototype

Methods​

intoCall()​

intoCall(parentBinding): ContractCall<PreProof>;

Parameters​

parentBinding​

PreBinding

Returns​

ContractCall<PreProof>


toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string