Skip to main content

IChangeEpochV2

Namespace: IotaSdk

System transaction used to change the epoch

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public interface IChangeEpochV2 : System.IEquatable`1[[IotaSdk.ChangeEpochV2, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Implements IEquatable<ChangeEpochV2>
Attributes NullableContextAttribute

Methods​

ComputationCharge()​

The total amount of gas charged for computation during the epoch.

ulong ComputationCharge()

Returns​

UInt64

ComputationChargeBurned()​

The total amount of gas burned for computation during the epoch.

ulong ComputationChargeBurned()

Returns​

UInt64

Epoch()​

The next (to become) epoch ID.

ulong Epoch()

Returns​

UInt64

EpochStartTimestampMs()​

Unix timestamp when epoch started

ulong EpochStartTimestampMs()

Returns​

UInt64

NonRefundableStorageFee()​

The non-refundable storage fee.

ulong NonRefundableStorageFee()

Returns​

UInt64

ProtocolVersion()​

The protocol version in effect in the new epoch.

ulong ProtocolVersion()

Returns​

UInt64

StorageCharge()​

The total amount of gas charged for storage during the epoch.

ulong StorageCharge()

Returns​

UInt64

StorageRebate()​

The amount of storage rebate refunded to the txn senders.

ulong StorageRebate()

Returns​

UInt64

SystemPackages()​

System packages (specifically framework and move stdlib) that are written before the new epoch starts.

SystemPackage[] SystemPackages()

Returns​

SystemPackage[]

ToBcs()​

Convert this type to BCS encoded bytes.

Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToDisplayString()​

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

string ToDisplayString()

Returns​

String

ToJson()​

Convert this type to a JSON encoded string.

string ToJson()

Returns​

String

Exceptions​

SdkFfiException