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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| coin | string | ✓ | Ticker of the supported ETH/EVM coin or token for which you want to set the fee policy. |
| swap_tx_fee_policy | string | ✓ | Possible values: Low, Medium, High, Internal. |
| Parameter | Type | Description |
|---|---|---|
| result | string | The 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"
}
}