Skip to main content

Interface: MovePackageDataLike

Type corresponding to the output of iota move build --dump-bytecode-as-base64

Methods​

dependencies()​

dependencies(): ObjectIdLike[];

Returns the package dependencies.

Returns​

ObjectIdLike[]


digest()​

digest(): DigestLike;

Returns the package digest.

Returns​

DigestLike


modules()​

modules(): ArrayBuffer[];

Returns the package modules.

Returns​

ArrayBuffer[]


toDisplayString()​

toDisplayString(): string;

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

Returns​

string


toJson()​

toJson(): string;

Returns​

string