eluv-io / elv-live-js

Eluvio Live JavaScript SDK
MIT License
4 stars 3 forks source link

add elvadmin replace_stuck_tx cmd #187

Closed elv-preethi closed 2 months ago

elv-preethi commented 2 months ago
./elv-admin replace_stuck_transaction --help
 replace_stuck_transaction

replace stuck transaction at given nonce using this key with higher gas-price

Options:
      --version  Show version number                                   [boolean]
  -v, --verbose  Verbose mode                                          [boolean]
      --help     Show help                                             [boolean]
      --nonce    Nonce of the transaction to be replaced

This command sends a transaction to transfer funds back to the same account, but with a transfer amount of 0. It creates a new transaction with a higher gas price at the next pending nonce.