fix: add transactionCount field to GetEpochInfo

This commit is contained in:
Michael Vines 2020-12-17 10:04:39 -08:00
parent e1f2d384db
commit 01fe835e73
1 changed files with 3 additions and 0 deletions

View File

@ -276,6 +276,7 @@ const GetInflationGovernorResult = struct({
* @property {number} slotsInEpoch
* @property {number} absoluteSlot
* @property {number} blockHeight
* @property {number} transactionCount
*/
type EpochInfo = {
epoch: number,
@ -283,6 +284,7 @@ type EpochInfo = {
slotsInEpoch: number,
absoluteSlot: number,
blockHeight: number | null,
transactionCount: number | null,
};
const GetEpochInfoResult = struct({
@ -291,6 +293,7 @@ const GetEpochInfoResult = struct({
slotsInEpoch: 'number',
absoluteSlot: 'number',
blockHeight: 'number?',
transactionCount: 'number?',
});
/**