Skip to main content

DisplayProtocol

DisplayProtocol Objects

class DisplayProtocol(typing.Protocol)

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

fields

def fields() -> dict[str, str]

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

id

def id() -> ObjectId

The object's ID.

version

def version() -> int

Version, bumped manually by the publisher on each update.