delegatorHistory

Query a user's staking history (delegations, deposits, withdrawals).

Returns a user's staking event history, mirroring Hyperliquid's delegatorHistory endpoint format. Includes delegation, deposit, and withdrawal events.

Data availability: Events from 2025-07-27 onwards.

POST Request

Field
Type
Description

type

string

Must be "delegatorHistory"

user

string

Ethereum address (0x-prefixed, 42 characters)

limit

number

(Optional) Max results to return. Default 500, max 2000.

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "delegatorHistory",
    "user": "0x5aeb1821f596d2d9ffe182d3f914b274a80511cc"
  }'

Response

Returns an array of staking events, sorted by time descending (most recent first). Each event has a delta object whose key indicates the event type.

Delta types

delegate — Delegation or undelegation

Field
Type
Description

validator

string

Validator address

amount

string

Amount delegated/undelegated (decimal string)

isUndelegate

boolean

true if undelegating, false if delegating

cDeposit — Staking deposit

Field
Type
Description

amount

string

Amount deposited (decimal string)

withdrawal — Staking withdrawal

Field
Type
Description

amount

string

Amount withdrawn (decimal string)

phase

string

"initiated" or "finalized"

Common fields

Field
Type
Description

time

number

Event timestamp in milliseconds

hash

string

Transaction hash

delta

object

Event-specific data (see delta types above)

Response

Last updated