Cardano · Schema

Account Delegation Content

BlockchainCryptocurrencyProof-of-StakeSmart ContractsWeb3
View JSON Schema on GitHub

JSON Schema

account-delegation-content.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://cardano.blockfrost.io/schema/account_delegation_content",
  "title": "Account Delegation Content",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "active_epoch": {
        "type": "integer",
        "example": 210,
        "description": "Epoch in which the delegation becomes active"
      },
      "tx_hash": {
        "type": "string",
        "description": "Hash of the transaction containing the delegation"
      },
      "amount": {
        "type": "string",
        "description": "Rewards for given epoch in Lovelaces"
      },
      "pool_id": {
        "type": "string",
        "description": "Bech32 ID of pool being delegated to"
      },
      "tx_slot": {
        "type": "integer",
        "description": "Slot of the transaction containing the delegation"
      },
      "block_time": {
        "type": "integer",
        "description": "Block creation time in UNIX time of the transaction containing the delegation"
      },
      "block_height": {
        "type": "integer",
        "description": "Block height of the transaction containing the delegation"
      }
    },
    "required": [
      "active_epoch",
      "tx_hash",
      "amount",
      "pool_id",
      "tx_slot",
      "block_time",
      "block_height"
    ]
  },
  "example": [
    {
      "active_epoch": 210,
      "tx_hash": "2dd15e0ef6e6a17841cb9541c27724072ce4d4b79b91e58432fbaa32d9572531",
      "amount": "12695385",
      "pool_id": "pool1pu5jlj4q9w9jlxeu370a3c9myx47md5j5m2str0naunn2q3lkdy",
      "tx_slot": 45093580,
      "block_time": 1646437200,
      "block_height": 6745358
    },
    {
      "active_epoch": 242,
      "tx_hash": "1a0570af966fb355a7160e4f82d5a80b8681b7955f5d44bec0dde628516157f0",
      "amount": "12691385",
      "pool_id": "pool1kchver88u3kygsak8wgll7htr8uxn5v35lfrsyy842nkscrzyvj",
      "tx_slot": 48093580,
      "block_time": 1649033600,
      "block_height": 7126896
    }
  ]
}