LogoLogo
  • overview
    • Introduction
    • Architecture and Roles
    • Fireblocks Embedded Wallet
  • Features
    • Supported Networks and Tokens
    • Organization Account and Wallet
    • Passphrase and MPC Key
    • Borrowing and Lending
    • Repayment
    • Liquidation and Physical Delivery
    • Adding and Removing Collateral
    • Withdrawal
    • Settlement Mechanism
    • Transaction Fee
  • Security
    • Security Overview
    • Account and MPC Key Share Security
    • Cloud Infrastructure Security
    • Full Key Recovery
    • Disaster Recovery for Fireblocks Key Share
  • Hypernative 24/7 On-Chain Security Analysis
  • Smart Contract Audit
  • Tutorials
    • MPC Key Generation
    • Wallet Creation and User Invitation
    • Joining Organization
Powered by GitBook
On this page
  • Borrower Fees
  • Lender Fees
  • Minimum Fee Formula
  • Fee Calculation and Payment
Export as PDF
  1. Features

Transaction Fee

Borrower Fees

TSI charges borrowers a fee based on the matched amount, matched interest rate, and days to maturity. The formula for calculating the borrow fee is:

borrowFee = matchedAmount * matchedInterest * (0.1)feeRate * dayToMaturity / 365

where the 0.1 fee rate may vary depending on the TSI's decision and other factors.

Lender Fees

Lenders also pay a transaction fee based on the matched amount, fee rate, and days to maturity. The formula for calculating the lend fee is:

lendFee = matchedAmount * (0.1)feeRate * dayToMaturity / 365

Minimum Fee Formula

TSI imposes a minimum transaction fee to cover rollup and data availability costs. This minimum fee is calculated as:

minFeeAmount = fee * ethPrice / targetPrice

For example, if the minimum fee is 0.0007 ETH, the ETH price is 3000 USD, and the USDC price is 1 USD, the minimum fee in USDC would be: 0.0007 ETH * 3000 USD / 1 USD = 2.1 USDC.

Different order types have different minimum fees:

  • Lend order: 0.0007 ETH

  • Borrow order: 0.006 ETH

Fee Calculation and Payment

  • The exact fee percentage for both borrowers and lenders is determined dynamically based on market conditions and other factors.

  • The transaction fee is automatically calculated and deducted from the loan transfer after the orders are matched. This means the borrower receives the loan amount minus the borrower's transaction fee. In a separate transaction, the lender pays both their own and the borrower's transaction fees to TSI.

  • Users can view the details of the transaction fees in their transaction history.

PreviousSettlement MechanismNextSecurity Overview

Last updated 1 month ago