Skip to main content

MovePackageData

Namespace: IotaSdk

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

public class MovePackageData : IMovePackageData, System.IDisposable

Inheritance Object → MovePackageData
Implements IMovePackageData, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

MovePackageData(UInt64)​

public MovePackageData(ulong pointer)

Parameters​

pointer UInt64

MovePackageData(Byte[][], ObjectId[])​

public MovePackageData(Byte[][] modules, ObjectId[] dependencies)

Parameters​

modules Byte[][]

dependencies ObjectId[]

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

Dependencies()​

Returns the package dependencies.

public ObjectId[] Dependencies()

Returns​

ObjectId[]

Digest()​

Returns the package digest.

public Digest Digest()

Returns​

Digest

Modules()​

Returns the package modules.

public Byte[][] Modules()

Returns​

Byte[][]

ToDisplayString()​

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.

public string ToDisplayString()

Returns​

String

ToJson()​

public string ToJson()

Returns​

String

FromJson(String)​

public static MovePackageData FromJson(string json)

Parameters​

json String

Returns​

MovePackageData

Exceptions​

SdkFfiException