feat: add getLeaderSchedule api
This commit is contained in:
committed by
Justin Starry
parent
74b4830ba6
commit
d0e139ffff
@@ -210,6 +210,10 @@ declare module '@solana/web3.js' {
|
||||
absoluteSlot: number,
|
||||
};
|
||||
|
||||
declare export type LeaderSchedule = {
|
||||
[address: string]: number[],
|
||||
};
|
||||
|
||||
declare export type Supply = {
|
||||
total: number,
|
||||
circulating: number,
|
||||
@@ -283,6 +287,7 @@ declare module '@solana/web3.js' {
|
||||
getTotalSupply(commitment: ?Commitment): Promise<number>;
|
||||
getVersion(): Promise<Version>;
|
||||
getInflationGovernor(commitment: ?Commitment): Promise<InflationGovernor>;
|
||||
getLeaderSchedule(): Promise<LeaderSchedule>;
|
||||
getEpochSchedule(): Promise<EpochSchedule>;
|
||||
getEpochInfo(commitment: ?Commitment): Promise<EpochInfo>;
|
||||
getRecentBlockhashAndContext(
|
||||
|
Reference in New Issue
Block a user