Enjin · Schema

StakingInfoResponse

Response for GET /accounts/{accountId}/staking-info

CompanyBlockchainGamingNFT

Properties

Name Type Description
ahTimestamp stringnull
at object
controller string Controller address
nominations object
numSlashingSpans string Number of slashing spans
rcBlockHash stringnull
rcBlockNumber stringnull
rewardDestination object Reward destination configuration
staking object Staking ledger information
View JSON Schema on GitHub

JSON Schema

enjin-staking-info-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/enjin/json-schema/enjin-staking-info-response-schema.json",
  "title": "StakingInfoResponse",
  "description": "Response for GET /accounts/{accountId}/staking-info",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/enjin-openapi-openapi.json#/components/schemas/StakingInfoResponse",
  "type": "object",
  "required": [
    "at",
    "controller",
    "rewardDestination",
    "numSlashingSpans",
    "staking"
  ],
  "properties": {
    "ahTimestamp": {
      "type": [
        "string",
        "null"
      ]
    },
    "at": {
      "$ref": "#/$defs/BlockInfo"
    },
    "controller": {
      "type": "string",
      "description": "Controller address"
    },
    "nominations": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/NominationsInfo",
          "description": "Nomination info (null if not a nominator)"
        }
      ]
    },
    "numSlashingSpans": {
      "type": "string",
      "description": "Number of slashing spans"
    },
    "rcBlockHash": {
      "type": [
        "string",
        "null"
      ]
    },
    "rcBlockNumber": {
      "type": [
        "string",
        "null"
      ]
    },
    "rewardDestination": {
      "$ref": "#/$defs/RewardDestination",
      "description": "Reward destination configuration"
    },
    "staking": {
      "$ref": "#/$defs/StakingLedger",
      "description": "Staking ledger information"
    }
  },
  "$defs": {
    "BlockInfo": {
      "type": "object",
      "description": "Block information",
      "required": [
        "hash",
        "height"
      ],
      "properties": {
        "hash": {
          "type": "string"
        },
        "height": {
          "type": "string"
        }
      }
    },
    "ClaimedReward": {
      "type": "object",
      "description": "Claimed reward status for a specific era",
      "required": [
        "era",
        "status"
      ],
      "properties": {
        "era": {
          "type": "string",
          "description": "Era index"
        },
        "status": {
          "type": "string",
          "description": "Claim status (\"claimed\" or \"unclaimed\")"
        }
      }
    },
    "NominationsInfo": {
      "type": "object",
      "description": "Nominations information for a nominator",
      "required": [
        "targets",
        "submittedIn",
        "suppressed"
      ],
      "properties": {
        "submittedIn": {
          "type": "string",
          "description": "Era in which nomination was submitted"
        },
        "suppressed": {
          "type": "boolean",
          "description": "Whether nominations are suppressed"
        },
        "targets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of validator addresses being nominated"
        }
      }
    },
    "RewardDestination": {
      "oneOf": [
        {
          "type": "object",
          "description": "Rewards are automatically re-staked",
          "required": [
            "staked"
          ],
          "properties": {
            "staked": {
              "default": null
            }
          }
        },
        {
          "type": "object",
          "description": "Rewards are sent to the stash account",
          "required": [
            "stash"
          ],
          "properties": {
            "stash": {
              "default": null
            }
          }
        },
        {
          "type": "object",
          "description": "Rewards are sent to the controller account",
          "required": [
            "controller"
          ],
          "properties": {
            "controller": {
              "default": null
            }
          }
        },
        {
          "type": "object",
          "description": "No reward destination",
          "required": [
            "none"
          ],
          "properties": {
            "none": {
              "default": null
            }
          }
        },
        {
          "type": "object",
          "description": "Rewards are sent to a specific account",
          "required": [
            "account"
          ],
          "properties": {
            "account": {
              "type": "string",
              "description": "Rewards are sent to a specific account"
            }
          }
        }
      ],
      "description": "Reward destination - e.g. { \"staked\": null }, { \"stash\": null }, { \"account\": \"...\" }"
    },
    "StakingLedger": {
      "type": "object",
      "description": "Staking ledger information",
      "required": [
        "stash",
        "total",
        "active",
        "unlocking"
      ],
      "properties": {
        "active": {
          "type": "string",
          "description": "Active staked balance"
        },
        "claimedRewards": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ClaimedReward"
          },
          "description": "Claimed rewards per era (only when includeClaimedRewards=true)"
        },
        "stash": {
          "type": "string",
          "description": "Stash account address"
        },
        "total": {
          "type": "string",
          "description": "Total locked balance (active + unlocking)"
        },
        "unlocking": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UnlockingChunk"
          },
          "description": "Unlocking chunks with value and era"
        }
      }
    },
    "UnlockingChunk": {
      "type": "object",
      "description": "Unlocking chunk with value and era when funds become available",
      "required": [
        "value",
        "era"
      ],
      "properties": {
        "era": {
          "type": "string",
          "description": "Era when funds become available"
        },
        "value": {
          "type": "string",
          "description": "Amount being unlocked"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/enjin-staking-info-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.