transaction-retry-tool
Version:
Tool to retry transactions on a blockchain
21 lines • 779 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionRetry = void 0;
const getGasCost_1 = __importDefault(require("./getGasCost"));
const retryTransaction_1 = __importDefault(require("./retryTransaction"));
class TransactionRetry {
constructor(hre) {
this._env = hre;
}
async retry(txHash, signerKey, gasPrice) {
await (0, retryTransaction_1.default)(this._env, txHash, signerKey, gasPrice);
}
async gasCost() {
await (0, getGasCost_1.default)(this._env);
}
}
exports.TransactionRetry = TransactionRetry;
//# sourceMappingURL=TransactionRetry.js.map