Skip to content
Sign in Create account

Returns a consistency proof between the requested tree sizes

GET /api/v1/transparency/merkle/proof/consistency

Returns a consistency proof between the requested tree sizes.

The public Merkle endpoints return tree metadata and proofs. Query limits are clamped by the handler.

This operation needs no authentication.

Parameters

  • first integer query required
    Range: at least 0
  • second integer query
    Range: at least 0

Responses

200 The requested transparency log data.

application/json ReceiptsMerkleConsistency

  • algorithm string required
    Example: "sha256-rfc6962-v1"
  • consistency_proof array of string required
  • first integer required
    Range: at least 0
  • first_root_hash string required
    Pattern: ^[a-f0-9]{64}$
  • second integer required
    Range: at least 0
  • second_root_hash string required
    Pattern: ^[a-f0-9]{64}$
  • signed_tree_heads object required
    • first object or null required
    • second object or null required
  • verified boolean required

Generated sample

{
  "algorithm": "sha256-rfc6962-v1",
  "consistency_proof": [
    "string"
  ],
  "first": 0,
  "first_root_hash": "string",
  "second": 0,
  "second_root_hash": "string",
  "signed_tree_heads": {
    "first": {},
    "second": {}
  },
  "verified": true
}
404 The selected tree head or leaf is unavailable.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

409 The log proof could not be produced consistently.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 The query parameters are invalid.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string

500 The server-side proof verification failed.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.