You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet.
info
endpoint with type: "userNonFundingLedgerUpdates"
retrieves comprehensive ledger updates for a specific user account on the Hyperliquid exchange, excluding funding payments. This endpoint provides detailed information about all account activities including deposits, withdrawals, transfers, liquidations, spot trading, and other balance-affecting operations.
This endpoint is similar to userFunding — both query the Hyperliquid
info
API with different type
values and return arrays of time‑ordered events. The difference is in scope: userFunding returns only funding events, whereas this page returns non‑funding ledger updates (deposits, withdrawals, transfers, liquidations, spot activity).Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
Request body
type
(string, required) — The request type. Must be"userNonFundingLedgerUpdates"
to retrieve user ledger updates.user
(string, required) — Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.startTime
(integer, required) — Start time in milliseconds, inclusive.endTime
(integer, optional) — End time in milliseconds, inclusive. Defaults to current time.
Response
The response is an array of ledger update events, chronologically ordered from oldest to newest. Each event represents a balance-affecting operation on the user’s account, excluding funding payments and receipts.Response structure
Each ledger update event contains: Event metadata:time
— Unix timestamp in milliseconds when the event occurredhash
— Transaction hash for blockchain transactions
delta
object):
type
— Type of ledger update (see transaction types below)- Additional fields specific to each transaction type
Transaction types
Deposit operations:deposit
— USDC deposits into the accountusdc
— Amount deposited in USDC
withdraw
— USDC withdrawals from the accountusdc
— Amount withdrawn in USDCnonce
— Unique nonce for the withdrawalfee
— Withdrawal fee in USDC
accountClassTransfer
— Transfers between spot and perpetual accountsusdc
— Amount transferred in USDCtoPerp
— Boolean indicating transfer direction (true = to perp, false = to spot)
-
spotTransfer
— Spot token transfers between accountstoken
— Token symbol being transferredamount
— Token amount transferredusdcValue
— USD value of the transferuser
— Source user addressdestination
— Destination addressfee
— Transfer feenativeTokenFee
— Native token feenonce
— Transfer nonce (if applicable)
-
spotGenesis
— Initial token allocations or airdropstoken
— Token symbolamount
— Token amount received
subAccountTransfer
— Transfers between main account and sub-accountsusdc
— Amount transferreduser
— Source account addressdestination
— Destination account address
internalTransfer
— Internal transfers within the exchangeusdc
— Amount transferreduser
— Source userdestination
— Destination userfee
— Transfer fee
liquidation
— Forced position closures due to insufficient marginliquidatedNtlPos
— Total notional value liquidatedaccountValue
— Account value at liquidationleverageType
— Leverage type (Cross/Isolated)liquidatedPositions
— Array of liquidated positions with coin and size
cStakingTransfer
— Consensus staking deposits and withdrawalstoken
— Staked token symbolamount
— Amount staked/unstakedisDeposit
— Boolean indicating if it’s a deposit or withdrawal
Data interpretation
Balance tracking:- Each event shows the exact change to account balances
- USDC amounts can be positive (credits) or negative (debits)
- Events are sequential and can be used to reconstruct account history
accountClassTransfer
events move funds between spot and perpetual tradingspotTransfer
events involve token movements between different addressessubAccountTransfer
events manage funds across account hierarchies
liquidation
events indicate margin calls and forced position closures- Track liquidation frequency and sizes for risk assessment
- Account value at liquidation shows remaining equity
Account management insights
Fund flow analysis
Deposit and withdrawal patterns:- Track net fund flows to understand capital deployment
- Monitor withdrawal patterns for liquidity planning
- Analyze deposit timing relative to market movements
- Monitor transfers between spot and perpetual accounts
- Optimize capital allocation across trading strategies
- Track margin efficiency and utilization
Trading activity reconstruction
Complete transaction history:- Combine with funding data for comprehensive P&L analysis
- Track all balance-affecting operations in chronological order
- Identify trading patterns and account usage
- Monitor spot token accumulation and distribution
- Track staking activities and rewards
- Analyze sub-account fund management
Risk monitoring
Liquidation analysis:- Identify liquidation triggers and patterns
- Monitor account health leading to liquidations
- Analyze liquidation impact on overall portfolio
- Track withdrawal frequencies and amounts
- Monitor account class transfers for strategy changes
- Identify unusual transfer patterns or activities
Example request
Shell
Example response
Use cases
Theinfo
endpoint with type: "userNonFundingLedgerUpdates"
is essential for applications that need to:
- Account reconciliation: Track all balance changes and verify account states
- Portfolio analytics: Analyze complete fund flows and asset movements
- Trading analysis: Reconstruct trading activity and performance metrics
- Risk management: Monitor liquidations and account health indicators
- Compliance reporting: Generate comprehensive transaction reports for regulatory requirements
- Tax calculation: Track all taxable events including transfers and liquidations
- Audit trails: Maintain complete records of all account activities
- Liquidity analysis: Monitor deposit and withdrawal patterns
- Capital allocation: Analyze fund movements between different trading strategies
- Performance attribution: Separate trading gains from deposits and withdrawals
- Sub-account management: Track fund flows across account hierarchies
- Financial reporting: Generate detailed financial statements and reports
- Automated reconciliation: Build systems to automatically verify account balances
- Anomaly detection: Identify unusual transaction patterns or activities
Body
application/json
The request type. Must be 'userNonFundingLedgerUpdates' to retrieve user ledger updates.
Available options:
userNonFundingLedgerUpdates
User wallet address (0x...)
Start time in milliseconds, inclusive
End time in milliseconds, inclusive. Defaults to current time.
Response
200 - application/json
User non-funding ledger updates data
Array of ledger update events for the user