IChangeEpoch
Namespace: IotaSdk
System transaction used to change the epoch
BCS
The BCS serialized form for this type is defined by the following ABNF:
change-epoch = u64 ; next epoch
u64 ; protocol version
u64 ; storage charge
u64 ; computation charge
u64 ; storage rebate
u64 ; non-refundable storage fee
u64 ; epoch start timestamp
(vector system-package)
public interface IChangeEpoch : System.IEquatable`1[[IotaSdk.ChangeEpoch, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<ChangeEpoch>
Attributes NullableContextAttribute
Methods
ComputationCharge()
The total amount of gas charged for computation during the epoch.
ulong ComputationCharge()
Returns
Epoch()
The next (to become) epoch ID.
ulong Epoch()
Returns
EpochStartTimestampMs()
Unix timestamp when epoch started
ulong EpochStartTimestampMs()
Returns
NonRefundableStorageFee()
The non-refundable storage fee.
ulong NonRefundableStorageFee()
Returns
ProtocolVersion()
The protocol version in effect in the new epoch.
ulong ProtocolVersion()
Returns
StorageCharge()
The total amount of gas charged for storage during the epoch.
ulong StorageCharge()
Returns
StorageRebate()
The amount of storage rebate refunded to the txn senders.
ulong StorageRebate()
Returns
SystemPackages()
System packages (specifically framework and move stdlib) that are written before the new epoch starts.
SystemPackage[] SystemPackages()