# API & SDK boundaries

Understand queries, submissions, proofs and events before relying on a response from a service.

Canonical page: https://quantumchain.info/docs/developers/api-and-sdk-reference

Category: Developers · Reviewed: 24 November 2026

## An interface has a specific job

The developer-platform design separates low-level node interactions, indexed queries, domain APIs, SDKs and tools. Each surface needs explicit schemas, environment identity, errors and access controls.

This is an architectural reference, not an executable endpoint catalog. No host, method path, package name or authentication scheme is invented here.

[View the diagram or interactive example](<https://quantumchain.info/docs/developers/api-and-sdk-reference#interface-catalog>). Visual-only examples are not reproduced in this text export.

## Carry enough context to interpret the result

An SDK can help construct requests, prepare witnesses and track status. It must not become the source of canonical validation rules or silently guess a protocol behavior when exactness matters.

| Context | Expected treatment |
| --- | --- |
| Network and schema version | Explicit selection and rejection of unsupported combinations |
| Object or transaction identity | Stable correlation between requests and later observations |
| State and finality reference | Distinguish pending, included, finalized and historical data |
| Proof package where required | Return verifiable evidence bound to an appropriate root |
| Domain and access scope | Separate public information from protected workflows |

## Treat submission and observation separately

| Observation | What it establishes | What remains |
| --- | --- | --- |
| Submission acknowledged | A service received or accepted a request for processing | Execution and finality |
| Included but not finalized | An inclusion observation under the reported state | The applicable finality rule |
| Finalized | Finality under the verified chain context | Any separate payout or business obligation |
| Proof unavailable | The service could not supply the requested proof | This is not proof that the object does not exist |

## Streams are observations, not extra payments

The specification describes typed event streams and webhook-style delivery. Consumers need stable correlation, explicit status and recovery after interruption.

Reconcile durable state after a reconnect and handle repeated notifications without repeating a consequential action. A timeout during submission leaves the outcome uncertain; inspect the original request or transaction identity before creating another attempt. Exact retry and delivery guarantees require the implemented API contract.

## Make errors and permissions explicit

Public lookups, protected reports and operator metrics have different access needs. Authentication and quotas do not replace transaction signing authority. The published implementation must document concrete schemas, supported versions, limits and recovery behavior.

| Error family | Client response |
| --- | --- |
| Network or version mismatch | Stop and correct the context; do not silently switch networks |
| Invalid or unauthorized request | Correct the request or authority instead of blind retries |
| Rate limit or unavailable service | Apply documented backoff and preserve request identity |
| Not found or proof unavailable | Report the service result without inventing an absence proof |
| Conflict or expired request | Re-read authoritative state before further action |

## Related reading

- [Developer orientation](<https://quantumchain.info/docs/developers/getting-started>)
- [Merchant integration](<https://quantumchain.info/docs/merchants/integration>)
- [Commitments & proofs](<https://quantumchain.info/docs/protocol/commitments-and-proofs>)
- [QuantumChain whitepaper](<https://quantumchain.info/whitepaper>)
