Skip to main content

state.QueryDelegation RPC

Retrieves the delegation information between a delegator and a validator.

Updated on
Nov 7, 2024

state.QueryDelegation RPC

Parameters

validator_address
string
REQUIRED
The address of the validator

Returns

result
object
The result object which contains the following fields:
delegation_response
object
The details regarding the delegation response
delegation
object
The delegation object which contains the following fields:
delegator_address
string
The address of the entity delegating funds
validator_address
string
The address of the validator receiving the delegation
shares
string
Number of shares assigned to the delegation
balance
object
The balance object which contains the following fields:
denom
string
The denomination of the balance
amount
string
The amount of the balance
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"id": 1,
5
"jsonrpc": "2.0",
6
"method": "state.QueryDelegation",
7
"params": [
8
"VALIDATOR_ADDRESS"
9
]
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free