Skip to main content

DenyList

open class DenyList : Disposable, AutoCloseable, DenyListInterface

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

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
idopen override fun id(): ObjectId
The object's ID.
listsIdopen override fun listsId(): ObjectId
Object ID of the Bag holding the per-coin deny lists.
toStringopen override fun toString(): String

Companion object functions

NameSummary
tryFromBcsfun tryFromBcs(bytes: ByteArray): DenyList
Decode from BCS bytes, without validating the on-chain type tag.
tryFromObjectfun tryFromObject(object: Object): DenyList
Decode from an on-chain object, validating its Move type tag.