Skip to main content

Interface: DisplayLike

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

Methods​

fields()​

fields(): Map<string, string>;

The display template as key/value pairs (e.g. name, link, image_url, description).

Returns​

Map<string, string>


id()​

id(): ObjectIdLike;

The object's ID.

Returns​

ObjectIdLike


version()​

version(): number;

Version, bumped manually by the publisher on each update.

Returns​

number