Replace required transactions by fee.
Each transactions_to_replace_by_fee object contains:
- TokenId (str): The unique token ID of the transaction. This parameter is called TransactionToken or TxToken in other endpoints, such as getTransactionReplaceByFee or getTransactionsPage i.e. "TransactionToken": "f8a7fdeef2c83312d13fc753f227ecb49e283d52ba79d34c75213d6f7b02f18a",
- TxId (str): The Id of the transaction to search for
- CoinSymbol (str): The symbol of the coin used in this operation (ETH, EVM or ERC20 tokens).
- MaxFee (str): Max fee value for the transaction
- MaxPriorityFee (str): The priority fee set to tip the miner and is required only if the currency is EIP1559
- Gas_Limit (str): Optional The maximum units of gas to spend for this transaction.
return: JSON object containing the success status for the operation.
-------------------- Request --------------------
replaceByFee(
transactions_to_replace_by_fee=[
{
"TokenId": "f552eb5ad0b54f096231189136ca60571efbaea31c2a4fe1a5f75f36c7f1430a",
"TxId": "0x8838191016ec8838783f6e7ff69ec098c9812d7d048b880253f4225ae8ee5e0b",
"CoinSymbol": "ETH",
"MaxFee": "123",
"MaxPriorityFee": "5",
"GasLimit": "120000"
},
{
TokenId="f8a7fdeef2c83312d13fc753f227ecb49e283d52ba79d34c75213d6f7b02f18a",
TxId="1f045a31e6f2f7031431d4aa1bbdcdabf69432e5210b1adb5de4503848f36713",
CoinSymbol="ETH",
MaxFee="123",
MaxPriorityFee="5",
GasLimit="120000"
}
]
)
-------------------- Response --------------------
{
"FunctionData": {
"Status": "Success"
},
"Meta": {
"AccessToken": "8fb6...d09",
"Destination": "04a2...8eb0",
"Source": "a6ac...5660",
"Time": "2024-10-21 12:09
.442"
}
}
transactions_to_replace_by_feearray<p>List of transaction data required to replace the required transaction.
Each item contains TokenId, TxId, CoinSymbol, MaxFee, MaxPriorityFee, and optional GasLimit.</p>