Coinset
UsageFull node

get_blockchain_state

Retrieves a summary of the current state of the blockchain and full node.

POST
/get_blockchain_state
/get_blockchain_state

Request Body

application/jsonRequired

Empty request body

curl -X POST "https://api.coinset.org/get_blockchain_state" \
  -H "Content-Type: application/json" \
  -d '{}'

OK

{
  "blockchain_state": {
    "node_id": "string",
    "difficulty": 3008,
    "genesis_challenge_initialized": true,
    "mempool_size": 0,
    "mempool_cost": 0,
    "mempool_fees": 0,
    "mempool_min_fees": {
      "cost_5000000": 0.1
    },
    "mempool_max_total_cost": 0,
    "block_max_cost": 0,
    "peak": {
      "challenge_block_info_hash": "0x08dbc5c9f4676bad4cd2fad9b120afefdc107ffdd4066f73f14baf2a204f13df",
      "challenge_vdf_output": {
        "data": "0x0000af33fa9862d4e257498e9ba0c3cda09c1389d1fde0facd72ea26f5371ba94deb18137d95bd83b1c7afefba6293feda91d744d014c747e132db0247839e9bd00d790c06f753a9d344c80c455a86ecd979c31687ece60748a5d62dca4723c3780d0906"
      },
      "deficit": 9,
      "farmer_puzzle_hash": "0x8f5474dc460673a39c96bb0fdfea933f5d1269c138e47a67f07872c04803a4e7",
      "fees": 0,
      "finished_challenge_slot_hashes": null,
      "finished_infused_challenge_slot_hashes": null,
      "finished_reward_slot_hashes": null,
      "header_hash": "0x3723909a7374c4c88cf00ab9b15365f4988f5bdb2d51bac23f6af939fe40f56c",
      "height": 101,
      "infused_challenge_vdf_output": "{\"data\":\"0x0300a4bc6790208e73245df6a85b3f7beac0d17e73972b414a7f94cf1e3c3e9bb4a400516d368cfa8b1814f3b5163fe5a54a1fe35781f58290673c8d9f56cd23b94c138b21207d6aa6f3049f8ad805eb99b28292e06e748117e78e13598cee9945670100\"}",
      "overflow": false,
      "pool_puzzle_hash": "0x8f5474dc460673a39c96bb0fdfea933f5d1269c138e47a67f07872c04803a4e7",
      "prev_hash": "0x9a6c8728021574c5f3242370831b9fde7a0421f4448b4848276fe1652580c6a7",
      "prev_transaction_block_hash": "0x6c94307cb88f37ca002936769246579824ecadc77fe1e445d31165e6958288e8",
      "prev_transaction_block_height": 97,
      "required_iters": 1045145,
      "reward_claims_incorporated": "[{\"amount\":1750000000000,\"parent_coin_info\":\"0xccd5bb71183532bff220ba46c268991a00000000000000000000000000000061\",\"puzzle_hash\":\"0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588\"},{\"amount\":250000000000,\"parent_coin_info\":\"0x3ff07eb358e8255a65c30a2dce0e5fbb00000000000000000000000000000061\",\"puzzle_hash\":\"0x8f3dff600992a0b77aefbe8eb81dd4f233b9126f3b67557594b5a927d6e6d588\"}]",
      "reward_infusion_new_challenge": "0x100b6fbe0778ae13e48e9bf71b7de4e31e5c1d73a0b041e0277f4a76b5338604",
      "signage_point_index": 19,
      "sub_epoch_summary_included": null,
      "sub_slot_iters": 134217728,
      "timestamp": 1616164827,
      "total_iters": 449835673,
      "weight": 714
    },
    "space": 40110198681182960000,
    "sub_slot_iters": 136314880,
    "average_block_time": 2,
    "sync": {
      "sync_mode": false,
      "sync_progress_height": 0,
      "sync_tip_height": 0,
      "synced": false
    }
  },
  "success": true,
  "error": "string"
}