public CardanoEpoch(CardanoEra era, ulong number, uint transactionCount, uint blockCount, CardanoAsset transactions, CardanoAsset fees, DateTime from, DateTime to) { this.Era = era; this.Number = number; this.TransactionsCount = transactionCount; this.BlockCount = blockCount; this.TransactionsTotal = transactions; this.Fees = fees; this.StartTime = from; this.EndTime = to; this.MaxSlots = era.SlotsPerEpoch; }
public CurrentCardanoEpoch(CardanoEra era, ulong number, uint transactionCount, uint blockCount, CardanoAsset transactions, CardanoAsset fees, DateTime from, DateTime to, uint currentSlot) : base(era, number, transactionCount, blockCount, transactions, fees, from, to) { this.CurrentSlot = currentSlot; }