feat: add support for getFirstAvailableBlock method

This commit is contained in:
Justin Starry
2020-05-23 17:33:04 +08:00
committed by Michael Vines
parent 1b8fe71230
commit 925c225885
4 changed files with 39 additions and 3 deletions

View File

@ -232,6 +232,7 @@ declare module '@solana/web3.js' {
getBalance(publicKey: PublicKey, commitment: ?Commitment): Promise<number>;
getBlockTime(slot: number): Promise<number | null>;
getMinimumLedgerSlot(): Promise<number>;
getFirstAvailableBlock(): Promise<number>;
getSupply(commitment: ?Commitment): Promise<RpcResponseAndContext<Supply>>;
getLargestAccounts(
config: ?GetLargestAccountsConfig,