stakingEvents

Query historical staking events (delegate, undelegate, withdrawal).

Overview

Returns historical staking events from ClickHouse. Supports filtering by user, validator, event type, and time range.

Request

  • Endpoint: POST /info

{
  "type": "stakingEvents",
  "user": "0xabc123...",
  "validator": "0x000000000056f99d36b6f2e0c51fd41496bbacb8",
  "eventType": "delegate",
  "startTime": 1694764800000,
  "endTime": 1694851200000,
  "limit": 500
}
Parameter
Type
Required
Description

user

string

No

Filter by user address

validator

string

No

Filter by validator address

eventType

string

No

Filter by event type (e.g. delegate, undelegate)

startTime

number

No

Start time in milliseconds

endTime

number

No

End time in milliseconds

limit

number

No

Max results (default 500, max 2000)

Response

Response Fields

Field
Type
Description

time

number

Event timestamp in milliseconds

hash

string

Transaction hash

eventType

string

Type of staking event

txIndex

number

Transaction index within block

user

string

User address

validator

string

Validator address

amount

string | null

HYPE amount (decimal string)

currency

string

Currency (always HYPE)

isFinalized

boolean

Whether the event is finalized

isUndelegate

boolean

Whether this is an undelegation event

Last updated