userFees
User fee rates; returns default rates when user is omitted
POST/infotype
userFeesShow the maker / taker rate a user currently pays.
Request body
assetstringrequired
Instrument external id (numeric string) — the `index` value from the `perpMeta` response.
typestringrequired
userstringnullableoptional
Optional: when omitted, returns the default fee rates without any discount.
Request example
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"asset": "4",
"type": "userFees",
"user": "0x0000000000000000000000000000000000000000"
}'Try it
Response · UserFeesResponse 200
codeinteger
`0` on success.
dataUserFeesResponse
activeReferralDiscountstring
dailyUserVlmDailyUserVlm[]
feeScheduleFeeSchedule
userAddstring
userAddRatestring
userCrossstring
userCrossRatestring
volumeTodaystring
successboolean
`false` on error, with `code` set and the text in `message` instead of `data`.
Response example
{
"success": true,
"code": 0,
"data": {
"activeReferralDiscount": "",
"dailyUserVlm": [
{
"date": "",
"exchange": "",
"userAdd": "",
"userCross": ""
}
],
"feeSchedule": {
"add": "",
"cross": "",
"referralDiscount": "",
"tiers": {
"mm": [
{
"add": "",
"makerFractionCutoff": ""
}
],
"vip": [
{
"add": "",
"cross": "",
"ntlCutoff": ""
}
]
}
},
"userAdd": "",
"userAddRate": "",
"userCross": "",
"userCrossRate": "",
"volumeToday": ""
}
}