Skip to main content

DenyList

DenyList Objects

class DenyList(DenyListProtocol)

A typed view of an on-chain 0x2::deny_list::DenyList object (the 0x403 singleton tracking regulated-coin deny lists).

try_from_bcs

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

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

try_from_object

@classmethod
def try_from_object(cls, object: Object) -> DenyList

Decode from an on-chain object, validating its Move type tag.

id

def id() -> ObjectId

The object's ID.

lists_id

def lists_id() -> ObjectId

Object ID of the Bag holding the per-coin deny lists.