Class TransactionTime
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Transaction time specified as seconds since unix epoch.
public sealed record TransactionTime : IEquatable<TransactionTime>
- Inheritance
-
TransactionTime
- Implements
- Inherited Members
Constructors
TransactionTime(ulong)
Transaction time specified as seconds since unix epoch.
public TransactionTime(ulong SecondsSinceUnixEpoch)
Parameters
SecondsSinceUnixEpoch
ulongSeconds since the unix epoch.
Properties
SecondsSinceUnixEpoch
Seconds since the unix epoch.
public ulong SecondsSinceUnixEpoch { get; init; }
Property Value
Methods
ToDateTimeOffset()
Convert the TransactionTime to a DateTimeOffset.
public DateTimeOffset ToDateTimeOffset()