allUserNonFundingLedgerEvents

Stream all user non funding ledger events.

💧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", // this is optional to filter by dex leave this field out for all events
        "addStakingEvents": bool // optional false by default
    }
} 

Unsubscribe

{ 
    "type": "unsubscribe",
    "subscription": {
        "type": "allUserNonFundingLedgerEvents",
        "dex": "dex_name", // this is optional to filter by dex leave this field 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