Skip to main content

RegulatedCoinMetadata

RegulatedCoinMetadata Objects

class RegulatedCoinMetadata(RegulatedCoinMetadataProtocol)

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

try_from_bcs

@classmethod
def try_from_bcs(cls, bytes: bytes) -> RegulatedCoinMetadata

Decode from BCS bytes, without validating the on-chain type tag.

try_from_object_with_type

@classmethod
def try_from_object_with_type(cls, object: Object,
type_param: TypeTag) -> RegulatedCoinMetadata

Decode from an on-chain object, validating its Move type tag, including that its type parameter equals type_param.

coin_metadata_object

def coin_metadata_object() -> ObjectId

Object ID of the coin's CoinMetadata object.

deny_cap_object

def deny_cap_object() -> ObjectId

Object ID of the coin's DenyCap object.

id

def id() -> ObjectId

The object's ID.