Returns information about a Stash account's staking activity. Replaces /staking/{address}
from versions < v1.0.0. The Stash account can be either a validator or nominator account.
SS58 address of the account. Must be a Stash account.
Block identifier, as the block height or block hash.
When set to false
, the claimedRewards
field is not included in the response.
true
Note: For Sidecar versions prior to v.20.0.0, in field claimedRewards
under staking
, we return whatever we would find under StakingLedger
with no further calculations. From v.20.0.0 onwards, claimedRewards
is calculated based on different calls: lastReward
, claimedRewards
or legacyClaimedRewards
. Note on lastReward: Runtime versions of Kusama less than 1062 will either have lastReward
in place of claimedRewards
, or no field at all. This is related to changes in reward distribution. See: Lazy Payouts, Simple Payouts