Expose getTotalSupply RPC method (#370)

This commit is contained in:
Trent Nelson
2019-06-25 09:31:22 -06:00
committed by Michael Vines
parent fd2ddef520
commit 034f31d3bc
3 changed files with 38 additions and 0 deletions

View File

@ -93,6 +93,7 @@ declare module '@solana/web3.js' {
signature: TransactionSignature,
): Promise<SignatureSuccess | TransactionError | null>;
getTransactionCount(): Promise<number>;
getTotalSupply(): Promise<number>;
getRecentBlockhash(): Promise<[Blockhash, FeeCalculator]>;
requestAirdrop(
to: PublicKey,