GET
/
events
/
delegation
curl --request GET \
  --url https://api.eigenexplorer.com/events/delegation \
  --header 'X-API-Token: <x-api-token>'
{
  "tx": "0xae41958d0342a4485536f701c72723625131680f182eb21f95abdac6d74d0ff0",
  "blockNumber": 21045085,
  "blockTime": "2024-10-25T20:41:11.000Z",
  "type": "DELEGATION",
  "args": {
    "operator": "0x71c6f7ed8c2d4925d0baf16f6a85bb1736d412eb",
    "staker": "0x42318adf0773b8af4aa8ed1670ea0af7761d07c7",
    "strategy": "0x93c4b944d05dfe6df7645a86cd2206016c51564d",
    "shares": 62816824424188010
  },
  "underlyingToken": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
  "underlyingValue": 5,
  "ethValue": 1
}

The default date range between startAt and endAt is 7 days, with startAt set 7 days before endAt.

By default, endAt is set to the current timestamp (now).
The maximum allowed date range is 30 days.

Headers

X-API-Token
string
required

API Token for authentication

Query Parameters

txHash
string

The transaction hash associated with the event

startAt
string

Start date in ISO string format

Example:

"2024-11-15T00:00:00.000Z"

endAt
string

End date in ISO string format

Example:

"2024-12-15T00:00:00.000Z"

type
enum<string>

The type of the delegation event

Available options:
DELEGATION,
UNDELEGATION,
SHARES_INCREASED,
SHARES_DECREASED
strategyAddress
string

The contract address of the restaking strategy

withTokenData
enum<string>
default:false

Toggle whether the route should return underlying token address and underlying value

Available options:
true,
false
Example:

"false"

withEthValue
enum<string>
default:false

Toggle whether the route should return value denominated in ETH

Available options:
true,
false
Example:

"false"

skip
string
default:0

The number of records to skip for pagination

Example:

0

take
string
default:12

The number of records to return for pagination

Example:

12

Response

200
application/json
The delegation events found.
tx
string
required

The transaction hash

Example:

"0xae41958d0342a4485536f701c72723625131680f182eb21f95abdac6d74d0ff0"

blockNumber
number
required

The block number of the transaction

Example:

21045085

blockTime
string
required

The block time of the transaction as an ISO 8601 string

Example:

"2024-10-25T20:41:11.000Z"

type
enum<string>
required

The type of the event

Available options:
DELEGATION,
UNDELEGATION,
SHARES_INCREASED,
SHARES_DECREASED
Example:

"DELEGATION"

args
object
required
underlyingToken
string

The contract address of the token associated with this strategy

Example:

"0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84"

underlyingValue
number

The value of the shares in terms of the underlying token

Example:

5

ethValue
number

The value of the shares in ETH

Example:

1