Skip to main content

IModuleMetadata

Namespace: IotaSdk

A typed view of an on-chain 0x2::module_metadata::ModuleMetadata object, the per-module key-value store owned by a package's PackageMetadataV1.

public interface IModuleMetadata

Attributes NullableContextAttribute

Methods

Id()

The object's ID.

ObjectId Id()

Returns

ObjectId

Size()

The number of key-value pairs stored in the metadata's dynamic fields. The entries themselves (e.g. the view-function names) live in dynamic fields, not in this object's contents.

ulong Size()

Returns

UInt64