Skip to main content

DenyList

Namespace: IotaSdk

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

public class DenyList : IDenyList, System.IDisposable

Inheritance ObjectDenyList
Implements IDenyList, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

DenyList(UInt64)

public DenyList(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

ListsId()

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

public ObjectId ListsId()

Returns

ObjectId

TryFromBcs(Byte[])

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

public static DenyList TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

DenyList

Exceptions

SdkFfiException

TryFromObject(Object)

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

public static DenyList TryFromObject(Object object)

Parameters

object Object

Returns

DenyList

Exceptions

SdkFfiException