Skip to main content

Fee Structure

TrexWallet applies fees based on the operation type, configured through the tariff system. This page describes how fees work for each type of operation.

Fee by Operation Type

OperationTypical FeeComponentsNotes
Internal transferFreeConfigurable, usually 0%
Blockchain withdrawalVariablePercent + fixed + networkNetwork fee depends on blockchain
Blockchain depositFree or %Optional percentUsually free for user
Exchange (order)Per-side %Percent per currencyBuyer and seller pay independently
Instant swapSpread + %Percent on pairIncludes rate spread
Payment orderMerchant %Percent + fixedPer-merchant tariff via app_id
Investment yieldManagement %Percent at distributionDeducted from yield payment
Federation creditCross-project %Percent + fixedPartner payment credited via federation webhook

Exchange Fees

Exchange operations use a dual-tariff model — each side of the trade has its own fee:

Trade: User A sells 1 BTC for 40,000 USDT

Tariff for BTC side: 0.1% → User A pays 0.001 BTC
Tariff for USDT side: 0.1% → User B pays 40 USDT

Fees are collected into the Exchange Commission wallet and can be different for makers vs. takers.

Withdrawal Fees

Withdrawal fees typically combine all three components:

Amount: 1000 USDT on Tron (TRC-20)
Percent fee: 0.5% = 5.00 USDT
Fixed fee: 1.00 USDT
Network fee: 1.50 USDT (current TRC-20 fee)
───────────────────────
Total fee: 7.50 USDT
User receives: 992.50 USDT at destination

Network fees are dynamic and updated by blockchain scanners in real-time.

Payment Gateway Fees

Payment gateway operations support per-merchant tariffs via the app_id dimension:

  • Standard merchants — default tariff (e.g., 3% + $0.30)
  • Premium merchants — reduced tariff (e.g., 1.5% + $0.15)
  • Internal payments — different tariff for wallet-to-wallet payments

An additional payment_spread can be configured per currency for cross-currency operations (e.g., paying a USDT order with BTC applies a rate markup). The same coefficient favors the platform in both directions: incoming payment orders use mid × (1 + payment_spread) (buyer pays more), outgoing transfer-order payouts use mid × (1 − payment_spread) (recipient gets less). payment_spread = 0 = mid-rate.

Checking Fees

API Preview

GET /trex/v1/estimate_fee?tx_type=Outcome&currency=USDT&amount=500&network_to=2

For a withdrawal (tx_type=Outcome) the tariff is keyed on the destination token network, so pass it as network_to. Use network_from for the source side of cross-network operations. to_currency is additionally required for exchange/swap types.

Admin Simulator

Use the TariffTest page in the admin panel to test which tariff applies for any combination of parameters.