On this page

latest contributor to this doc

Last Edit:

@smk762

Set Swap Transaction Fee Policy

API-v2set_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.

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

ParameterTypeDescription
resultstringThe fee policy that was set for the given coin.

Set Swap Transaction Fee Policy

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"
  }
}