feat: add getBlockTime method
This commit is contained in:
committed by
Michael Vines
parent
e10a5c90ab
commit
4b613a4574
1
web3.js/module.d.ts
vendored
1
web3.js/module.d.ts
vendored
@ -198,6 +198,7 @@ declare module '@solana/web3.js' {
|
||||
commitment?: Commitment,
|
||||
): Promise<RpcResponseAndContext<number>>;
|
||||
getBalance(publicKey: PublicKey, commitment?: Commitment): Promise<number>;
|
||||
getBlockTime(slot: number): Promise<number | null>;
|
||||
getClusterNodes(): Promise<Array<ContactInfo>>;
|
||||
getConfirmedBlock(slot: number): Promise<ConfirmedBlock>;
|
||||
getConfirmedTransaction(
|
||||
|
Reference in New Issue
Block a user