blockchain

Get Masterchain Info

Get first and last indexed block

get/api/v3/masterchainInfo

Request

  • Base URL: https://toncenter.com (the document declares no server; this is the origin it was published from)
  • URL: https://toncenter.com/api/v3/masterchainInfo
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in query parameter api_key

Response

OK

Example response

{
  "first": {
    "end_lt": "0",
    "gen_utime": "0",
    "masterchain_block_ref": {
      "shard": "0"
    },
    "prev_blocks": [
      {
        "shard": "0"
      }
    ],
    "shard": "0",
    "start_lt": "0"
  },
  "last": {
    "end_lt": "0",
    "gen_utime": "0",
    "masterchain_block_ref": {
      "shard": "0"
    },
    "prev_blocks": [
      {
        "shard": "0"
      }
    ],
    "shard": "0",
    "start_lt": "0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.