Vai al contenuto
Tutte le fonti

Hyperliquid in TaxChain

Verificato

L'importazione di Hyperliquid è stata riconciliata con dati reali. Le prove sono elencate qui sotto.

Questa pagina è in inglese, per dire esattamente ciò che dicono la documentazione della piattaforma e il codice di TaxChain. I titoli e il resto del sito sono nella tua lingua.

Hyperliquid is an exchange that runs on its own chain. TaxChain reads an account by its address from Hyperliquid's public info API [1]: trade fills, funding payments and the ledger of deposits, withdrawals, transfers, vault moves and reward claims. Perpetuals are taxed by their realised result, settled in USDC; spot trades as purchases and sales of the token.

Modi di importare

  • Caricamento filePotrebbe essere aggiunto

    The Hyperliquid app's history exports

    The Hyperliquid app lets you download your trade and funding history. TaxChain reads none of these files: the address gives the same records. They are subject to the same 10,000-fill window, so they do not recover older fills either.

  • Indirizzo walletVerificato

    Hyperliquid's public info API (api.hyperliquid.xyz/info), TaxChain's own client

    The account's address (0x…, 42 characters). No key, no signature and no login: the info API answers for any address [2].

    TaxChain reads three lists from the account's first day: fills (userFillsByTime, 2,000 a page), funding (userFunding) and the ledger (userNonFundingLedgerUpdates), 500 a page each. Each page starts at the last time of the one before, as the documentation says to [1].

    Hyperliquid serves only an account's 10,000 most recent fills [1]. Older fills are not returned, and no error says so. Funding and the ledger reach back to the account's first day. A sync keeps every row it has read, so a wallet synced regularly keeps fills the venue later stops serving; a busy account connected late starts mid-history.

    The venue publishes older fills as raw node files in a requester-pays archive, with no promise that they are complete [3]. TaxChain does not read them.

    CCXT also supports Hyperliquid [4], but it reads the same public lists by address and would add nothing.

    The info API limits each IP to a weight of 1,200 a minute, and a long history costs more per page [5]. TaxChain waits and retries when it is limited.

Cosa viene letto

OperazioneStato
Perpetuals: realised profit and lossEach fill that closes part of a position is a settlement of its realised result (closedPnl) in the token the dex settles in. Opening fills carry only their fee. Fills the venue numbers 0 (every fill of the 2023 perps) are each read under their own identity.Letto
Perpetuals: trading feesIn the token the venue charged. Maker rebates (negative fees) are kept on the row, but no rebate is counted as money received.Letto
Funding paymentsEach hourly payment, received or paid, as a settlement with its sign, in USDC or, on a HIP-3 dex, in that dex's collateral token.Letto
HIP-3 perpetuals (builder-deployed dexes: stocks, indices, commodities)A HIP-3 dex may settle in any token [6]. On 20 Nov 2026 five settle in USDC and five do not: flx, vntl and km in USDH, hyna in USDE, cash in USDT0. Each result is booked in the token its fees were charged in, and each funding payment in the collateral the dex's own metadata names.Letto
Spot tradesA buy or sale of the token, paid in the pair's own quote token. The pair index (@107) is turned into both tokens' names, so the 17 pairs quoted in USDT0, USDH or USDE (HYPE/USDT0 among them) spend or receive that token, not USDC.Letto
Spot dust conversionsHyperliquid converts tiny balances to USDC each day and reports each conversion as a fill numbered 0; each is read as a sale under its own identity.Letto
Deposits and withdrawals (Arbitrum bridge)A withdrawal gives up its amount and the 1 USDC fee on top.Letto
Transfers between accounts (send, spotTransfer, internal and sub-account transfers)Read by direction: leaving is a withdrawal, arriving a deposit, to oneself a transfer. A move between two wallets you track is paired into a transfer. A fee shown on a transfer you received is the sender's and is left off yours. The HYPE gas a send pays (nativeTokenFee) leaves the account as a disposal of its own. Two wallets you track trading against each other on the order book share the venue's trade number, and only one side is kept: a known defect.Letto in parte
Moves to and from HyperEVMA send to a system address (0x2222… for HYPE, 0x20… for other tokens) [7] leaves the account and is read as a withdrawal; coming back is a deposit. HyperEVM itself is added as its own EVM chain wallet. TaxChain does not pair the two sides, so mark the withdrawal as a transfer to your own wallet.Letto in parte
Moves between the spot and perp sides of one accountNot taxed: nothing left the account.Letto
Vaults (HLP and user vaults)Depositing pays USDC for vault units, kept as an asset of their own; leaving redeems them for the USDC that reached the account, net of any leader commission, and the difference is a gain or loss. Creating a vault as its leader pays the seed and a 100 USDC fee, both read as leaving the account.Letto in parte
Referral and other reward claimsRead as income at the day's value. A claim that pays two tokens at once writes two entries under one venue identity; each is kept.Letto
Genesis distributions and airdrops (spotGenesis), including the HYPE airdrop of 29 Nov 2024Read as an airdrop at the day's value, which also gives the tokens their cost. How an airdrop is taxed depends on the country (see its guide).Letto
HYPE staking: delegating and undelegatingMoving HYPE to and from staking is not taxed, and TaxChain books nothing for it.Letto
HYPE staking rewardsPaid daily into the staked balance and listed only by the delegator rewards list [1], which TaxChain reads: each day's reward is staking income.Letto
Lending and borrowing (borrowLend)Supplying and withdrawing tokens moves nothing taxable; the interest a withdrawal or supply reports as earned is read as income. Borrowing and repaying are not read: borrowed tokens arrive with no purchase, so spending them stops the calculation.Letto in parte
LiquidationsThe liquidating fills carry the realised loss and are read as any closing fill.Letto
Open positions at year endTheir unrealised result is not taxed. For the wealth taxes, a capture at 31 Dec 23:00 UTC records each open position on every dex with its mark and the account value.Letto in parte
MarginMargin moves no coin: only fills, funding and the ledger do.Non applicabile
NFTsNon applicabile

Limiti

  • Only the 10,000 most recent fills can be read. Connect a busy account early and sync it regularly, or its oldest trades are lost for good.
  • Borrowing is not read: spending borrowed tokens stops the calculation until you add how you got them.
  • If two wallets you track traded with each other on the order book, only one side of that trade is kept. Track such wallets in separate portfolios, or check those trades.
  • Imports made before 20 November 2026 dropped fills the venue numbers 0, genesis distributions, staking rewards and one of two entries of the same claim. The operator re-reads each wallet in full; until then, an older import can be missing them.
  • Maker rebates (negative fees) are not counted as money received.
  • Moves to HyperEVM or to any address you do not track count as disposals until you mark them as transfers to your own wallet.

Come è stato verificato

  • 18 novembre 2026Twelve real wallets' full archived history, 87,357 venue records, run through the production pipeline and rebuilt independently from the raw records in Python. Derivatives, capital gains, vault and staking results agree to the cent for 2025 and for 2026 to 25 September, after the defects that rebuild found were fixed. Against a Koinly export of the same wallets, derivatives results matched to the cent on eight of the nine wallets with no gap in their history.
  • 20 novembre 2026Full history of public account 0x5cc7613ba99cf9f97021126f6716e3e0a1bcaa34 [8] (27 May 2023 to 11 Sep 2026: 1,039 fills, 195 funding payments, 98 ledger entries), read live and compared with its live balances. The venue's own records account for the balances, apart from 0.056 USDC and 20 tokens that left without any record. At first TaxChain's rows did not: four defects explained the whole gap (39 fills numbered 0 dropped, one claimed USDT0 lost to a shared identity, 57 genesis distributions unread, 0.00002 HYPE of gas unread). All four were fixed the same day, and the adapter's live pull of the account now reconciles exactly as the venue's records do. Putting a defect back fails the test. Repeatable with LIVE_SOURCES=1.
  • 20 novembre 2026Every ledger type seen on real accounts, HIP-3 fills on USDH and USDE dexes, a USDT0-quoted spot fill and staking rewards, recorded from the venue and run through the adapter, each with a test. One defect remains as a failing test: two tracked wallets on either side of one trade.

Cosa lo mantiene Verificato

Verified rests on the twelve-wallet archive, which holds perps, funding, USDC transfers, vaults, reward claims and spot trades of one token (UBTC), and on the public account above, whose full history now reconciles live. Genesis tokens are in the latter; HYPE staking, lending and the non-USDC dexes are tested on recorded responses only.

Still open: an identity for a fill that two tracked wallets share (it needs every stored fill re-keyed), and one account with staking and lending reconciled the same way.

Come aggiungerlo

  • Copy the address of the wallet you trade Hyperliquid with: the 0x… address shown in the app. Add each sub-account as its own source. An API wallet's address is not the account's.
  • In TaxChain, open Wallets, choose Add source, pick Hyperliquid and paste the address.
  • After the sync, compare your USDC and token balances with the app's. Add genesis tokens, staking rewards and lending interest by hand, and mark moves to HyperEVM or your other wallets as transfers.

Riferimenti

  1. [1]Info endpoint. Hyperliquid. userFillsByTime returns at most 2,000 fills a response, and only the 10,000 most recent fills are available. A time-range response returns at most 500 elements; page on with the last timestamp. Also delegatorRewards.
  2. [2]Info endpoint: perpetuals. Hyperliquid. userFunding and userNonFundingLedgerUpdates take a user address and an inclusive time range; funding entries on HIP-3 dexes name the coin as dex:COIN.
  3. [3]Historical data. Hyperliquid. Raw node fills and events in S3, requester pays; no guarantee of timely updates, and data may be missing.
  4. [4]Hyperliquid. CCXT. CCXT 4.5.93 reads trades, ledger and funding by public address through the same info endpoints.
  5. [5]Rate limits and user limits. Hyperliquid. REST requests share a weight of 1,200 a minute per IP; fills, funding and staking lists cost extra weight per 20 items returned.
  6. [6]HIP-3: Builder-deployed perpetuals. Hyperliquid. Any quote asset can be used as the collateral asset for a dex.
  7. [7]HyperCore and HyperEVM transfers. Hyperliquid. A token's system address is 0x20 followed by its index; HYPE's is 0x2222…2222.
  8. [8]Address 0x5cc7613ba99cf9f97021126f6716e3e0a1bcaa34. Hyperliquid Explorer. The account reconciled on 20 Nov 2026.

Ultimo controllo sulla documentazione della piattaforma e sul codice di TaxChain il 20 novembre 2026.