/accounts/{accountId}/staking-info REST API Endpoint
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
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
The stakingLedger object which contains the following fields:
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
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/1zugcag7cJVBtVRnFxv5Qftn7xKAnR6YJ9x4x3XLgGgmNnS/staking-info' \2--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free