@gluwa/transaction-cancel-tool
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

license

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
    )

Package Sidebar

Install

npm i @gluwa/transaction-cancel-tool

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

34.4 kB

Total Files

32

Last publish

Collaborators

  • dsylebee
  • eunjeong.park
  • chulhyun
  • sanggon.kim
  • jungyoon.kim
  • ray.gluwa
  • kevinnguyen17
  • taelimoh
  • hyeonggook.lee
  • yiseul.jo