feeTierRates
Returns the effective fee schedule for an account type and exchange. Pass user to include the user's volume tier and referral discount; omit it for the default rates.
This is separate from feeTierInfo, which returns the static configured fee-tier ladder.
POST/infotype
feeTierRatesShow effective rates for an account type, including the user’s tier and referral discount.
Request body
accountTypestringrequired
Account type whose effective fee schedule is requested.
"perp""perps""outcome"typestringrequired
exchangeIdinteger · int32nullableoptional
Exchange id. Defaults to the platform exchange (0).
userstringnullableoptional
Optional user address. When omitted, returns the default effective rates.
Request example
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"accountType": "perp",
"type": "feeTierRates",
"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": ""
}
}