UNPKG

@solsdk/keystone_sdk

Version:

SDK for Keystone Protocol

9 lines (8 loc) 418 B
import { BlockhashWithExpiryBlockHeight, Commitment, Connection } from '@solana/web3.js'; import { BlockhashFetcher } from './types'; export declare class BaseBlockhashFetcher implements BlockhashFetcher { private connection; private blockhashCommitment; constructor(connection: Connection, blockhashCommitment: Commitment); getLatestBlockhash(): Promise<BlockhashWithExpiryBlockHeight | undefined>; }