delegatorSummary

Get a summary of a user's delegation status.

Get a summary of a user's delegation status.

POST Request

Field
Type
Description

type

string

Must be "delegatorSummary"

user

string

Ethereum address (0x-prefixed, 42 characters)

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

Response Fields

Field
Type
Description

delegated

string

Total amount currently delegated

undelegated

string

Total amount undelegated

totalPendingWithdrawal

string

Total amount pending withdrawal

nPendingWithdrawals

int

Number of pending withdrawals

Response
{
    "delegated": "1518.74003972",
    "undelegated": "0.0",
    "totalPendingWithdrawal": "0.0",
    "nPendingWithdrawals": 0
}

Last updated