test-pkg-ngn
Version:
A library containing helper functions that facilitate scripting for keepers of the Keep3r Network
14 lines (13 loc) • 515 B
TypeScript
import { SendTxProps } from '../types';
import { providers } from 'ethers';
/**
* @notice Sends a transaction.
*
* @dev This method should be used on chains that don't support flashbots.
*
* @param contractCall A callback function of the function to call on-chain.
* @param explorerUrl The url of the explorer of the chain to which the transaction will be sent.
*
* @returns A promise of a transaction receipt.
*/
export declare function sendTx(props: SendTxProps): Promise<providers.TransactionReceipt>;