UNPKG

@kaiachain/web3js-ext

Version:
7 lines (6 loc) 312 B
import { Web3Context } from "web3-core"; import { EthExecutionAPI, Bytes } from "web3-types"; export interface ResourceCleaner { clean: () => void; } export declare function rejectIfBlockTimeout(web3Context: Web3Context<EthExecutionAPI>, transactionHash?: Bytes): Promise<[Promise<never>, ResourceCleaner]>;