Skip to main content

Interface: ModuleMetadataLike

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

Methods

id()

id(): ObjectIdLike;

The object's ID.

Returns

ObjectIdLike


size()

size(): bigint;

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.

Returns

bigint