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
firstinteger query requiredRange: at least 0secondinteger queryRange: at least 0
Responses
200 The requested transparency log data.
application/json ReceiptsMerkleConsistency
algorithmstring requiredExample:"sha256-rfc6962-v1"consistency_proofarray of string requiredfirstinteger requiredRange: at least 0first_root_hashstring requiredPattern:^[a-f0-9]{64}$secondinteger requiredRange: at least 0second_root_hashstring requiredPattern:^[a-f0-9]{64}$signed_tree_headsobject requiredfirstobject or null requiredsecondobject or null required
verifiedboolean 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
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
409 The log proof could not be produced consistently.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 The query parameters are invalid.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The route throttle limit was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
500 The server-side proof verification failed.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.