Blocks

Get Block

get

Get block information for a given block id

Path parameters
blockIdstringRequiredPattern: [a-f0-9]{64}
Query parameters
includeTransactionsbooleanOptionalDefault: true
includeColorbooleanOptionalDefault: false
Responses
200
Successful Response
application/json
get
GET /blocks/{blockId} HTTP/1.1
Host: kas.nownodes.io
Accept: */*
{
  "header": {
    "version": 1,
    "hashMerkleRoot": "e6641454e16cff4f232b899564eeaa6e480b66069d87bee6a2b2476e63fcd887",
    "acceptedIdMerkleRoot": "9bab45b027a0b2b47135b6f6f866e5e4040fc1fdf2fe56eb0c90a603ce86092b",
    "utxoCommitment": "236d5f9ffd19b317a97693322c3e2ae11a44b5df803d71f1ccf6c2393bc6143c",
    "timestamp": "1656450648874",
    "bits": 455233226,
    "nonce": "14797571275553019490",
    "daaScore": "19984482",
    "blueWork": "2d1b3f04f8a0dcd31",
    "parents": [
      {
        "parentHashes": [
          "text"
        ]
      }
    ],
    "blueScore": "18483232",
    "pruningPoint": "5d32a9403273a34b6551b84340a1459ddde2ae6ba59a47987a6374340ba41d5d"
  },
  "transactions": [],
  "verboseData": {
    "hash": "18c7afdf8f447ca06adb8b4946dc45f5feb1188c7d177da6094dfbc760eca699",
    "difficulty": 1,
    "selectedParentHash": "580f65c8da9d436480817f6bd7c13eecd9223b37f0d34ae42fb17e1e9fda397e",
    "transactionIds": [
      "text"
    ],
    "blueScore": "18483232",
    "childrenHashes": [
      "text"
    ],
    "mergeSetBluesHashes": [
      "text"
    ],
    "mergeSetRedsHashes": [
      "text"
    ],
    "isChainBlock": false
  },
  "extra": {
    "color": "text",
    "minerAddress": "text",
    "minerInfo": "text"
  }
}

Get Blocks

get

Lists block beginning from a low hash (block id).

Query parameters
lowHashstringRequiredPattern: [a-f0-9]{64}
includeBlocksbooleanOptionalDefault: false
includeTransactionsbooleanOptionalDefault: false
Responses
200
Successful Response
application/json
get
GET /blocks HTTP/1.1
Host: kas.nownodes.io
Accept: */*
{
  "blockHashes": [
    "text"
  ],
  "blocks": [
    {
      "header": {
        "version": 1,
        "hashMerkleRoot": "e6641454e16cff4f232b899564eeaa6e480b66069d87bee6a2b2476e63fcd887",
        "acceptedIdMerkleRoot": "9bab45b027a0b2b47135b6f6f866e5e4040fc1fdf2fe56eb0c90a603ce86092b",
        "utxoCommitment": "236d5f9ffd19b317a97693322c3e2ae11a44b5df803d71f1ccf6c2393bc6143c",
        "timestamp": "1656450648874",
        "bits": 455233226,
        "nonce": "14797571275553019490",
        "daaScore": "19984482",
        "blueWork": "2d1b3f04f8a0dcd31",
        "parents": [
          {
            "parentHashes": [
              "text"
            ]
          }
        ],
        "blueScore": "18483232",
        "pruningPoint": "5d32a9403273a34b6551b84340a1459ddde2ae6ba59a47987a6374340ba41d5d"
      },
      "transactions": [],
      "verboseData": {
        "hash": "18c7afdf8f447ca06adb8b4946dc45f5feb1188c7d177da6094dfbc760eca699",
        "difficulty": 1,
        "selectedParentHash": "580f65c8da9d436480817f6bd7c13eecd9223b37f0d34ae42fb17e1e9fda397e",
        "transactionIds": [
          "text"
        ],
        "blueScore": "18483232",
        "childrenHashes": [
          "text"
        ],
        "mergeSetBluesHashes": [
          "text"
        ],
        "mergeSetRedsHashes": [
          "text"
        ],
        "isChainBlock": false
      },
      "extra": {
        "color": "text",
        "minerAddress": "text",
        "minerInfo": "text"
      }
    }
  ]
}