feat: add getLeaderSchedule api
This commit is contained in:
committed by
Justin Starry
parent
74b4830ba6
commit
d0e139ffff
5
web3.js/module.d.ts
vendored
5
web3.js/module.d.ts
vendored
@ -193,6 +193,10 @@ declare module '@solana/web3.js' {
|
||||
firstNormalSlot: number;
|
||||
};
|
||||
|
||||
export type LeaderSchedule = {
|
||||
[address: string]: number[];
|
||||
};
|
||||
|
||||
export type Supply = {
|
||||
total: number;
|
||||
circulating: number;
|
||||
@ -266,6 +270,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