Skip to main content

TokenPolicyCapInterface

type TokenPolicyCapInterface

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

type TokenPolicyCapInterface interface {
// The object's ID.
Id() *ObjectId
// Object ID of the `TokenPolicy` this cap controls (the Move `for`
// field).
PolicyId() *ObjectId
}