fix: add transactionCount field to GetEpochInfo
This commit is contained in:
@ -276,6 +276,7 @@ const GetInflationGovernorResult = struct({
|
|||||||
* @property {number} slotsInEpoch
|
* @property {number} slotsInEpoch
|
||||||
* @property {number} absoluteSlot
|
* @property {number} absoluteSlot
|
||||||
* @property {number} blockHeight
|
* @property {number} blockHeight
|
||||||
|
* @property {number} transactionCount
|
||||||
*/
|
*/
|
||||||
type EpochInfo = {
|
type EpochInfo = {
|
||||||
epoch: number,
|
epoch: number,
|
||||||
@ -283,6 +284,7 @@ type EpochInfo = {
|
|||||||
slotsInEpoch: number,
|
slotsInEpoch: number,
|
||||||
absoluteSlot: number,
|
absoluteSlot: number,
|
||||||
blockHeight: number | null,
|
blockHeight: number | null,
|
||||||
|
transactionCount: number | null,
|
||||||
};
|
};
|
||||||
|
|
||||||
const GetEpochInfoResult = struct({
|
const GetEpochInfoResult = struct({
|
||||||
@ -291,6 +293,7 @@ const GetEpochInfoResult = struct({
|
|||||||
slotsInEpoch: 'number',
|
slotsInEpoch: 'number',
|
||||||
absoluteSlot: 'number',
|
absoluteSlot: 'number',
|
||||||
blockHeight: 'number?',
|
blockHeight: 'number?',
|
||||||
|
transactionCount: 'number?',
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user