Skip to main content
Version: Next

Resource Interface Resolver

pub resource interface Resolver {
}

Provides access to a set of metadata views. A struct or resource (e.g. an NFT) can implement this interface to provide access to the views that it supports.

Functions

getViews()

fun getViews(): [Type]

resolveView()

fun resolveView(_: Type): AnyStruct?