@kaiachain/web3js-ext
Version:
web3.js extension for kaiachain blockchain
7 lines (6 loc) • 312 B
TypeScript
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]>;