state.QueryRedelegations RPC
Parameters
srcValAddr
string
REQUIRED
The source validator's address from which the delegation is being moved
dstValAddr
string
REQUIRED
The destination validator's address to which the delegation is being redelegated
Returns
result
object
The result object which contains the following fields:
redelegation_responses
array
An array of redelegation_responses which contains the following fields
redelegation
object
The redelegation object which contains the following fields:
delegator_address
string
The address of the delegator performing the redelegation
validator_src_address
string
The address of the source validator from which tokens are being redelegated
validator_dst_address
string
The address of the destination validator to which tokens are being redelegated.
entries
array
An array of redelegation entries, each representing an individual part of the redelegation process
creation_height
integer
The block height at which this redelegation entry was created
completion_time
string
Timestamp when the redelegation entry will be completed
initial_balance
string
Initial amount of tokens involved in this redelegation entry
shares_dst
string
Amount of destination shares allotted in this redelegation entry
entries
array
An array of entries, which contains the following fields:
redelegation_entry
object
The redelegation_entry object which contains the following fields:
creation_height
integer
The block height when this redelegation entry was created
completion_time
string
Time when the redelegation entry will be finalized
initial_balance
string
The time when the redelegation entry will be finalized
shares_dst
string
The number of destination shares assigned in this redelegation entry.
balance
string
The remaining balance of tokens that is yet to be transferred or finalized for this entry
pagination
object
The pagination object which contains the following fields:
next_key
string
An Encoded key to fetch the next page of results
total
integer
The total number of redelegation responses available
Request
1curl --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.QueryRedelegations",7"params": [8"SOURCE_VALIDATOR_ADDRESS",9"DESTINATION_VALIDATOR_ADDRESS"10]11}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free