Skip to main content

ModuleMetadataInterface

interface ModuleMetadataInterface

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

Inheritors

ModuleMetadata

Functions

NameSummary
idabstract fun id(): ObjectId
The object's ID.
sizeabstract fun size(): ULong
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.