---
updatedAt: 2026-08-19T14:40:16.000Z
agentTools:
  projectIndex: https://docs.blockberry.one/llms.txt
---

# getCheckpointsCount

Get the total number of checkpoints on the Sui Network. On Sui, checkpoints are equivalents to blocks and contain transaction blocks.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Sui mainnet API",
    "description": "This is the new API Module implementation. The SUI Blockchain API is used to retrieve SUI Blockchain data. In order to execute queries you need to get API Key and use it in header 'x-api-key'. However, before that you need to sign up on the explorer or company website. If an account is created on the website <strong>https://staketab.com/</strong> or <strong>https://suiscan.xyz/</strong>, the user will be granted the <strong>ROLE_USER</strong> role. After that you may fetch API KEY.",
    "termsOfService": "terms-of-service",
    "contact": {
      "name": "Staketab tech support",
      "url": "https://staketab.com/",
      "email": "support@staketab.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.blockberry.one/sui",
      "description": "Production"
    }
  ],
  "security": [
    {
      "x-api-key": []
    }
  ],
  "paths": {
    "/v1/checkpoints/total": {
      "get": {
        "tags": [
          "Transaction Blocks"
        ],
        "summary": "getCheckpointsCount",
        "description": "Get the total number of checkpoints on the Sui Network. On Sui, checkpoints are equivalents to blocks and contain transaction blocks.",
        "operationId": "getCheckpointsCount",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "x-api-key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  }
}
```