Skip to main content

Alias

Namespace: IotaSdk

A typed view of an on-chain 0x107a::alias::Alias object.

public class Alias : IAlias, System.IDisposable

Inheritance ObjectAlias
Implements IAlias, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

Alias(UInt64)

public Alias(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Id()

The object's ID.

public ObjectId Id()

Returns

ObjectId

ImmutableIssuer()

public Address? ImmutableIssuer()

Returns

Address?

ImmutableMetadata()

public Byte[]? ImmutableMetadata()

Returns

Byte[]?

LegacyStateController()

public Address LegacyStateController()

Returns

Address

Metadata()

public Byte[]? Metadata()

Returns

Byte[]?

Sender()

public Address? Sender()

Returns

Address?

StateIndex()

public uint StateIndex()

Returns

UInt32

StateMetadata()

public Byte[]? StateMetadata()

Returns

Byte[]?

TryFromBcs(Byte[])

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

public static Alias TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

Alias

Exceptions

SdkFfiException

TryFromObject(Object)

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

public static Alias TryFromObject(Object object)

Parameters

object Object

Returns

Alias

Exceptions

SdkFfiException