Skip to main content

DisplayInterface

type DisplayInterface

A typed view of an on-chain `0x2::display::Display<T>` object.

type DisplayInterface interface {
// The display template as key/value pairs (e.g. `name`, `link`,
// `image_url`, `description`).
Fields() map[string]string
// The object's ID.
Id() *ObjectId
// Version, bumped manually by the publisher on each update.
Version() uint16
}