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 or token ticker symbol.
    Example: "btc"
  • walletIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$

Request Body

txid string
The transaction id of the transaction for which we are changing fee.
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
fee integer
The new fee for the transaction.
eip1559 object
maxPriorityFeePerGas string required
Max priority tip price for EIP1559 transactions. Only for ETH and ERC20 tokens.
maxFeePerGas string required
Max total gasPrice 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

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