Right now we cannot update the amount or fee in tx, bcs those fields are taking part in transactionID creation, so if the transaction is stuck bcs of the low fee, it will be stuck for a long time.
Implementation
Add new endpoint: PUT /transactions-pool/accounts/:idx/nonces/:nonce. So the expected behavior will be:
Find tx in the pool by account idx and nonce.
Delete found tx and add a new one from the request
Rationale
Right now we cannot update the amount or fee in tx, bcs those fields are taking part in transactionID creation, so if the transaction is stuck bcs of the low fee, it will be stuck for a long time.
Implementation
Add new endpoint:
PUT /transactions-pool/accounts/:idx/nonces/:nonce
. So the expected behavior will be: