Alias
Namespace: IotaSdk
A typed view of an on-chain 0x107a::alias::Alias object.
public class Alias : IAlias, System.IDisposable
Inheritance Object → Alias
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
ImmutableIssuer()
public Address? ImmutableIssuer()
Returns
ImmutableMetadata()
public Byte[]? ImmutableMetadata()
Returns
LegacyStateController()
public Address LegacyStateController()
Returns
Metadata()
public Byte[]? Metadata()
Returns
Sender()
public Address? Sender()
Returns
StateIndex()
public uint StateIndex()
Returns
StateMetadata()
public Byte[]? StateMetadata()
Returns
TryFromBcs(Byte[])
Decode from BCS bytes, without validating the on-chain type tag.
public static Alias TryFromBcs(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
TryFromObject(Object)
Decode from an on-chain object, validating its Move type tag.
public static Alias TryFromObject(Object object)
Parameters
object Object