Skip to content

Stratum Peer REST Docs

Stratum Peer REST is the on-VM API for ledger operations against Hyperledger Fabric peers provisioned by Chain Deploy. It is not a public Cloud Run endpoint — callers reach it over the customer VPC (typically port 3000).

Adapters, dashboards, and partner services talk to the same contract: sync assets, run wallet token ops, and scrape health/metrics. The REST surface is the stable interoperability contract; chaincode upgrades stay behind it.

Who this is for

You are…The problem you feelWhat Stratum gives you
Integrator wiring an adapterNeed a private, predictable HTTP surface on the peer/api/assets, /api/tokens, /health on the VM
Platform operatorNeed readiness vs liveness and SLIs/health/ready, /health/live, Prometheus /metrics
Wallet / token clientNeed issue, transfer, redeem without admin routesAccount-model wallet ops documented under Tokens

This documentation set is Early Access (v0). It answers how do I call Peer REST? — not how Fabric endorsement or chaincode internals decide ledger state. See Disclosure Boundary.

Explore by topic

TopicStart here
Auth header and VPC modelAuthentication
Error envelopeErrors
Wallet operationsTokens
Sync / queryAssets
SLIs and healthObservability
Chaincode upgrade vs migrationUpgrade & compatibility
Machine-readable contractAPI reference

Network model

  1. Peer REST runs on the peer VM (Docker / host process on :3000).
  2. Primary access control is VPC-private — firewall rules restrict callers to internal ranges.
  3. X-Api-Key is an optional second factor when API_KEY is configured on the peer.
  4. There is no public internet base URL for this API. Use the peer’s internal IP or private DNS from within the VPC (or via a VPC connector from Cloud Functions / Cloud Run).

Reading order

To answerRead
How do I authenticate?Authentication
What does an error look like?Errors
How do wallet ops work?Tokens
How do I sync assets?Assets
What are the SLIs?Observability
Will my client break on upgrade?Upgrade & compatibility
Full OpenAPIAPI reference

Guides

Authentication

X-Api-Key on VPC-private Peer REST.

Read more

Tokens

Wallet issue, transfer, redeem, quote, balance, history, stats.

Read more

Assets

Sync and query ledger assets from adapters.

Read more

Observability

RPS, error%, p95, /health/ready vs live.

Read more

Resources

Tokens

Account-model wallet operations on fungible-token chaincode.

Upgrade & compatibility

F1 chaincode upgrade vs deferred F2 Panurus — REST is the stable contract.

API reference

Browse the OpenAPI 3.1 contract for Peer REST public routes.

Disclosure Boundary

What is published for interoperability — and what stays private.

Live try-it is disabled on this portal — call Peer REST from your VPC with curl or your own client. Signed-in operators mint ingestion API keys and read operator auth docs under Dashboard → Account → Developer API docs.

Was this page clear?