Tezos · Schema

StakerRewards

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
cycle integer Cycle in which the rewards were earned. **[sortable]**
baker object Staker's baker.
initialStake integer Staked balance at the beginning of the cycle (micro tez).
addedStake integer Amount added (staked) during the cycle (micro tez).
removedStake integer Amount removed (unstaked) during the cycle (micro tez).
finalStake integer Staked balance at the end of the cycle (micro tez).
avgStake integer Average (per-block) staked balance (micro tez).
rewards integer Staking rewards (or losses if negative) earned during the cycle (micro tez).
bakerRewards object Rewards of the staker's baker, from which the staker can understand the source of the rewards/losses.
quote object Injected historical quote at the end of the cycle
View JSON Schema on GitHub

JSON Schema

stakerrewards.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "StakerRewards",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "cycle": {
      "type": "integer",
      "description": "Cycle in which the rewards were earned.  \n**[sortable]**",
      "format": "int32"
    },
    "baker": {
      "description": "Staker's baker.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/Alias"
        }
      ]
    },
    "initialStake": {
      "type": "integer",
      "description": "Staked balance at the beginning of the cycle (micro tez).",
      "format": "int64"
    },
    "addedStake": {
      "type": "integer",
      "description": "Amount added (staked) during the cycle (micro tez).",
      "format": "int64"
    },
    "removedStake": {
      "type": "integer",
      "description": "Amount removed (unstaked) during the cycle (micro tez).",
      "format": "int64"
    },
    "finalStake": {
      "type": "integer",
      "description": "Staked balance at the end of the cycle (micro tez).",
      "format": "int64"
    },
    "avgStake": {
      "type": "integer",
      "description": "Average (per-block) staked balance (micro tez).",
      "format": "int64"
    },
    "rewards": {
      "type": "integer",
      "description": "Staking rewards (or losses if negative) earned during the cycle (micro tez).",
      "format": "int64"
    },
    "bakerRewards": {
      "description": "Rewards of the staker's baker, from which the staker can understand the source of the rewards/losses.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/BakerRewards"
        }
      ]
    },
    "quote": {
      "description": "Injected historical quote at the end of the cycle",
      "nullable": true,
      "oneOf": [
        {
          "$ref": "#/components/schemas/QuoteShort"
        }
      ]
    }
  }
}