Skip to main content

StakingRequestEvent

Namespace: IotaSdk

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

public class StakingRequestEvent : IStakingRequestEvent, System.IDisposable

Inheritance ObjectStakingRequestEvent
Implements IStakingRequestEvent, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

StakingRequestEvent(UInt64)

public StakingRequestEvent(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

Amount()

Staked amount, in nanos.

public ulong Amount()

Returns

UInt64

Epoch()

public ulong Epoch()

Returns

UInt64

PoolId()

public ObjectId PoolId()

Returns

ObjectId

StakerAddress()

public Address StakerAddress()

Returns

Address

ValidatorAddress()

public Address ValidatorAddress()

Returns

Address

TryFromBcs(Byte[])

Decode from the BCS contents of an emitted event.

public static StakingRequestEvent TryFromBcs(Byte[] bytes)

Parameters

bytes Byte[]

Returns

StakingRequestEvent

Exceptions

SdkFfiException