Skip to main content

ContractCall

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / ContractCall

Class: ContractCall<P>

A single contract call segment

Type Parameters​

P​

P extends Proofish

Properties​

address​

readonly address: string;

The address being called


communicationCommitment​

readonly communicationCommitment: string;

The communication commitment of this call


entryPoint​

readonly entryPoint: string | Uint8Array<ArrayBufferLike>;

The entry point being called


fallibleTranscript​

readonly fallibleTranscript:
| undefined
| Transcript<AlignedValue>;

The fallible execution stage transcript


guaranteedTranscript​

readonly guaranteedTranscript:
| undefined
| Transcript<AlignedValue>;

The guaranteed execution stage transcript


proof​

readonly proof: P;

The proof attached to this call

Methods​

toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string