0.0.1 • Published 2 years ago
@gluwa/transaction-cancel-tool v0.0.1
Transaction-Retry Tool
This Hardhat plugin add task and function to cancel transaction
Tasks
npx hardhat cancel
Task: cancel
Usage: hardhat GLOBAL OPTIONS cancel --tx-hash --signer-key
OPTIONS:
- --tx-hash The transaction hash of the transaction to cancel
- --signer-key The signer private key (or type hardhat to use hardhat.config private key)
- --gas-price Specify a gas price to cancel the transaction with (default: current network gas price) (default: "")
Functions
Function allow you to use the transaction cancel tool
const { transactionCancel } = require('hardhat');
transactionCancel.cancel(
txHash: string,
signerKey: string,
gasPrice?: string
)
0.0.1
2 years ago