Change Fee

post/api/v2/{coin}/wallet/{walletId}/tx/changeFee

Change the fee rate of a transaction in an attempt to accelerate its confirmation. Supported by: ETH, ERC20 tokens, CELO, RSK, ETC

Requirements:

  • Transaction gas price must increase by at least 10 Gwei or 20% higher than the original transaction fee
  • At least 15 minutes must have passed since original send

Path Parameters

  • coinstringRequired
    A cryptocurrency symbol or token ticker symbol
    Example: "btc"
    Min length: >= 1 characters
  • walletIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$
    Min length: >= 1 characters

Request Body

txid string required
The transaction id of the transaction for which we are changing fee.
Min length: >= 1 characters
Example: b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26
feeOne of
The new fee for the transaction.
eip1559 object
EIP-1559 transaction parameters
maxFeePerGasOne ofrequired
Max total gasPrice for EIP1559 transactions. Only for ETH and ERC20 tokens.
maxPriorityFeePerGasOne ofrequired
Max priority tip price for EIP1559 transactions. Only for ETH and ERC20 tokens.

200 Response

txid string
Transaction id of the newly created transaction with increased fee rate.
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id