For the complete documentation index, see llms.txt. This page is also available as Markdown.

validatorL1Votes

Get the current validator L1 votes.

Get the current validator L1 votes.

POST Request

Field
Type
Description

type

string

Must be "validatorL1Votes"

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "validatorL1Votes"
  }'
import requests
import os

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'validatorL1Votes'
    },
    headers={
        'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
        'Content-Type': 'application/json'
    }
)

print(response.json())

Last updated