LogoLogo
WebsiteEnter AppHyperliquid
  • Unit
    • About Unit
      • Team
  • How To
    • Deposit
    • Withdraw
  • Architecture
    • Overview
    • Components
    • Security
  • Developers
    • API
      • Generate Address
        • Guardian Signatures
      • Estimate Fees
      • Operations
        • Deposit Lifecycle
        • Withdrawal Lifecycle
      • Withdraw Queue
    • Key Addresses
      • Mainnet
        • Bitcoin
        • Solana
        • Ethereum
      • Testnet
        • Bitcoin (Testnet)
        • Ethereum (Testnet)
        • Solana (Testnet)
          • SPL Tokens
  • FAQ
    • How do I get in touch with Unit?
    • Where's my transaction?
    • How do fees on Unit work?
    • What type of Bitcoin deposit address does Unit derive?
    • How long does a deposit/withdrawal take?
    • Are there any audits planned?
    • Is my unique deposit address permanent?
    • Can I generate multiple deposit addresses for my Hyperliquid wallet?
  • Legal
    • Regulatory Compliance
    • Terms of Service
    • Privacy Policy
Powered by GitBook
On this page
  1. Developers
  2. API

Estimate Fees

Get current fee rate and processing time estimates for each network

Deposits & withdrawals are comprised of a source transaction, initiated by the user, and a destination transaction, initiated by the Unit Guardians. The user pays for the network fees associated with each of the respective transactions.

Unit exposes a fee estimation endpoint to get the current fee rates (and expected processing times) associated with each network.

Endpoint

GET /v2/estimate-fees

200: OK Successful Response

{
  "bitcoin": {
    "deposit-fee-rate-sats-per-vb": 8,
    "deposit-size-v-bytes": 113,
    "depositEta": "21m",
    "depositFee": 1404,
    "withdrawal-fee-rate-sats-per-vb": 5,
    "withdrawal-size-v-bytes": 143,
    "withdrawalEta": "44m",
    "withdrawalFee": 715
  },
  "ethereum": {
    "base-fee": 4180642406,
    "depositEta": "3m",
    "depositFee": 542339092071454,
    "eth-deposit-gas": 21000,
    "eth-withdrawal-gas": 50000,
    "priority-fee": 7000,
    "withdrawalEta": "7m",
    "withdrawalFee": 209032470300000
  },
  "solana": {
    "depositEta": "1m",
    "depositFee": 8711125,
    "withdrawalEta": "4m",
    "withdrawalFee": 8000
  },
  "spl": {
    "depositEta": "1m",
    "depositFee": 7857245,
    "withdrawalEta": "4m",
    "withdrawalFee": 2815836
  }
}
PreviousGuardian SignaturesNextOperations

Last updated 19 days ago