Skip to main content

MovePackageData

MovePackageData Objects​

class MovePackageData(MovePackageDataProtocol)

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

dependencies​

def dependencies() -> typing.List[ObjectId]

Returns the package dependencies.

digest​

def digest() -> Digest

Returns the package digest.

modules​

def modules() -> typing.List[bytes]

Returns the package modules.

to_display_string​

def to_display_string() -> str

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.