UNPKG

@aptos-labs/ts-sdk

Version:
22 lines (19 loc) 666 B
import { ProcessorType } from '../utils/const.mjs'; import { AnyNumber } from '../types/index.mjs'; import { AptosConfig } from './aptosConfig.mjs'; import '../utils/apiEndpoints.mjs'; import '../types/indexer.mjs'; import '../types/generated/operations.mjs'; import '../types/generated/types.mjs'; /** * Utility function to handle optional waiting on indexer for APIs * * This is purposely placed here to not expose this internal function. * @param args */ declare function waitForIndexerOnVersion(args: { config: AptosConfig; minimumLedgerVersion?: AnyNumber; processorType: ProcessorType; }): Promise<void>; export { waitForIndexerOnVersion };