Skip to main content

Publisher

Namespace: IotaSdk

A typed view of an on-chain 0x2::package::Publisher object.

public class Publisher : IPublisher, System.IDisposable

Inheritance ObjectPublisher
Implements IPublisher, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

Publisher(UInt64)

public Publisher(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

ModuleName()

public string ModuleName()

Returns

String

Package()

public string Package()

Returns

String

TryFromBcs(Byte[])

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

public static Publisher TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

Publisher

Exceptions

SdkFfiException

TryFromObject(Object)

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

public static Publisher TryFromObject(Object object)

Parameters

object Object

Returns

Publisher

Exceptions

SdkFfiException