Skip to main content

UnstakingRequestEvent

Namespace: IotaSdk

A typed view of a 0x3::validator::UnstakingRequestEvent.

public class UnstakingRequestEvent : IUnstakingRequestEvent, System.IDisposable

Inheritance Object → UnstakingRequestEvent
Implements IUnstakingRequestEvent, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

UnstakingRequestEvent(UInt64)​

public UnstakingRequestEvent(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

PoolId()​

public ObjectId PoolId()

Returns​

ObjectId

PrincipalAmount()​

Withdrawn principal, in nanos.

public ulong PrincipalAmount()

Returns​

UInt64

RewardAmount()​

Withdrawn reward, in nanos.

public ulong RewardAmount()

Returns​

UInt64

StakeActivationEpoch()​

public ulong StakeActivationEpoch()

Returns​

UInt64

StakerAddress()​

public Address StakerAddress()

Returns​

Address

UnstakingEpoch()​

public ulong UnstakingEpoch()

Returns​

UInt64

ValidatorAddress()​

public Address ValidatorAddress()

Returns​

Address

TryFromBcs(Byte[])​

Decode from the BCS contents of an emitted event.

public static UnstakingRequestEvent TryFromBcs(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

UnstakingRequestEvent

Exceptions​

SdkFfiException