Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Recognitium Phase 1 API Middleware State API
version: 0.1.0
tags:
- name: State
paths:
/v1/state/commit-root:
post:
summary: Commit State Root Endpoint
operationId: commit_state_root_endpoint_v1_state_commit_root_post
responses:
'201':
description: Successful Response
content:
application/json:
schema: {}
tags:
- State
/v1/state/proof:
get:
summary: Get State Proof
description: 'The caller''s Merkle SUM inclusion proof against the latest receipted
state root: own leaf (key_id, balance at commit time), the sibling path,
the root record, and the committing receipt. Verifies OFFLINE with stock
SHA-256 — recompute the leaf, fold the path, compare the root, and check
that SHA-256(payload_preimage) equals the receipt''s content_hash (bound
receipts; legacy receipts: equals payload_hash directly).'
operationId: get_state_proof_v1_state_proof_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- State