Skip to main content

state.QueryRedelegations RPC Method

Retrieves the status of the redelegations between a delegator and a validator.

Updated on
Nov 19, 2024

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 | null

(Optional) An Encoded key to fetch the next page of results

total
integer

The total number of redelegation responses available

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free