Skip to content

Call.ts

This module provides a high-level API for UCS03 Call instruction construction.

Added in v2.0.0

Signature

export interface Call extends Inspectable.Inspectable, Pipeable, Iterable<ZkgmInstruction.ZkgmInstruction> {
readonly [TypeId]: TypeId
readonly _tag: "Call"
readonly sender: Ucs05.AnyDisplay
readonly eureka: boolean
readonly contractAddress: Ucs05.AnyDisplay
readonly contractCalldata: Hex
readonly opcode: 1
readonly version: 0
}

Source: src/Call.ts:31

Added in v2.0.0

Signature

export declare const TypeId: typeof TypeId

Source: src/Call.ts:19

Added in v2.0.0

Signature

export type TypeId = typeof TypeId

Source: src/Call.ts:25

Added in v2.0.0

Signature

export declare const encode: (self: Call) => Effect.Effect<Ucs03.Call, ParseError, never>

Source: src/Call.ts:94

Added in v2.0.0

Signature

export declare const make: (options: {
sender: Ucs05.AnyDisplay
eureka: boolean
contractAddress: Ucs05.AnyDisplay
contractCalldata: Hex
}) => Call

Source: src/Call.ts:71

Added in v2.0.0