Fees
GET /v1/p/user/fees
Get current trading fees.
- HTTP
- Python
curl -X GET "$ETHGAS_API_URL/v1/p/user/fees"
import requests
url = f"{ETHGAS_API_URL}/v1/p/user/fees"
response = requests.get(url)
print(response.text)
Request
No parameters required.
Response Body
| Name | Type | Description |
|---|---|---|
| buyFeeRate | BigDecimal | Percentage fees charged for buy transaction |
| primarySellFeeRate | BigDecimal | Percentage fees charged for first time sell transaction |
| secondarySellFeeRate | BigDecimal | Percentage fees charged for subsequent sell transaction |
Example Response
{
"success": true,
"data": {
"buyFeeRate": "0.01",
"primarySellFeeRate": "0.045",
"secondarySellFeeRate": "0.05"
}
}