Skip to main content

/accounts/{accountId}/staking-info REST API Endpoint

Returns information about a Stash account's staking activity.

Updated on
Sep 02, 2024

Path Parameters

accountId
string
REQUIRED

The SS58 address of the account. Must be a Stash account.

Query Parameters

at
string

The block at which to query the staking info for the specified account.

Returns

at
object

An object containing information about the state.

hash
string

The hash of the block at the specified state.

height
string

The height of the block at the specified state.

rewardDestination
object

The destination of the staking rewards

account
string

The account id of the reward destination

controller
string

The controller account associated with the staking account.

numSlashingSpans
string

The number of slashing spans for the account.

nominations
object | null

An object containing information about the account's nominations.

targets
array

An array of strings representing the targets of the nominations.

submittedIn
string

The era in which the nominations were submitted.

suppressed
boolean

A boolean indicating whether the nominations are suppressed.

stakingLedger
object | null

(Optional) The stakingLedger object which contains the following fields:, or null when not staking

stash
string

The stash account associated with the staking ledger.

total
string

The total amount staked.

active
string

The amount actively staked.

unlocking
string

The amount that is in the process of being unlocked.

claimedRewards
array

An array of strings representing the eras in which rewards have been claimed.

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