On this page

latest contributor to this doc

Last Edit:

@smk762

set_swap_transaction_fee_policy

The set_swap_transaction_fee_policy method allows you to set the gas fee policy used by supported ETH/EVM coins or tokens when estimating swap transaction fees.

parameterTypeDescription
coinstringTicker of the supported ETH/EVM coin or tokens for which we want to set the fee policy for.
swap_tx_fee_policystringPossible values: Low, Medium, High, Internal.

POST
set_swap_transaction_fee_policy
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "set_swap_transaction_fee_policy",
  "mmrpc": "2.0",
  "params": {
    "coin": "ETH",
    "swap_tx_fee_policy": "High"
  }
}

{
    "mmrpc": "2.0",
    "result": "High",
    "id": null
}