For the complete documentation index, see llms.txt. This page is also available as Markdown.

allUserNonFundingLedgerEvents

Stream all user non funding ledger events.

Every live data message includes both routing identifiers with the same value:

{"type": "allUserNonFundingLedgerEvents", "channel": "allUserNonFundingLedgerEvents"}

Other payload fields are omitted above. Existing clients may continue routing on either field.

💧New endpoint - this endpoint is not a part of original Hyperliquid API and is added by us for builder convenience.

Subscribe

{ 
    "type": "subscribe",
    "subscription": {
        "type": "allUserNonFundingLedgerEvents",
        "dex": "dex_name", // optional; "main" (alias "hyperliquid") = native dex, or a HIP-3 dex name. Leave out for all events
        "addStakingEvents": bool // optional false by default
    }
} 

Unsubscribe

{ 
    "type": "unsubscribe",
    "subscription": {
        "type": "allUserNonFundingLedgerEvents",
        "dex": "dex_name", // optional; "main" (alias "hyperliquid") = native dex, or a HIP-3 dex name. Leave out for all events
        "addStakingEvents": bool // optional false by default
    }
}

allUserNonFundingLedgerEvents data format

Reconnection Note: When reconnecting with a session, replay and live events may overlap. Deduplicate using (time, txIndex, role) - skip events where this tuple is at or before your last processed event. See Session Management for details.

Each event contains a timestamp, hash, and delta object describing the ledger change. Events are batched per block.

Examples

Delta types

spotTransfer

accountClassTransfer

withdraw

deposit

vaultCreate

vaultDeposit

vaultWithdraw

vaultDistribution

vaultLeaderCommission

liquidation

internalTransfer

subAccountTransfer

rewardsClaim

accountActivationGas

deployGasAuction

cStakingTransfer

spotGenesis

send

perpDexClassTransfer

activateDexAbstraction

borrowLend

borrowLendBackstopLiquidation

If addStakingEvents is true also includes

Delegation

cDeposit

cWithdrawal

Error messages:

Common errors

Last updated