set_swap_transaction_fee_policy
The set_swap_transaction_fee_policy
method allows you to set the gas fee policy used when estimating swap transaction fees.
parameter | Type | Description |
---|---|---|
coin | string | Ticker of the coin/asset for which we want to set the fee policy for. |
swap_tx_fee_policy | string | Possible 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
}