hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
9 lines • 681 B
TypeScript
import type { RequestHandler } from "./types.js";
import type { ChainType, NetworkConnection } from "../../../../types/network.js";
/**
* This function returns an handlers array based on the values in the NetworkConnection and NetworkConfig.
* The order of the handlers, if all are present, is: chain handler, gas handlers (gasPrice first, then gas), sender handler and accounts handler.
* The order is important to get a correct result when the handlers are executed.
*/
export declare function createHandlersArray<ChainTypeT extends ChainType | string>(networkConnection: NetworkConnection<ChainTypeT>): Promise<RequestHandler[]>;
//# sourceMappingURL=handlers-array.d.ts.map