unified API gateway for the Tana blockchain platform.
tana-api is the public-facing entry point for all client requests. it routes traffic to internal microservices, providing a single endpoint for CLI tools, mobile apps, and web applications to interact with the blockchain.
clients send requests to tana-api, which examines the path and forwards the request to the appropriate internal service. responses flow back through the gateway to the client.
clients (CLI, mobile, web)
|
v
tana-api
|
+--------+--------+--------+--------+
| | | | |
queue ledger edge mesh identity
(write) (read) (exec) (net) (auth)
built with TypeScript and Bun for high-performance HTTP proxying. the gateway adds minimal latency while providing a consistent interface regardless of internal service organization.
the gateway exposes a unified API that mirrors the internal services:
POST /transactions - submit transactionsGET /users, GET /balances - query stateGET /blocks - query blockchainGET /contracts/:id/* - execute contract handlersGET /nodes - network topologyPOST /auth/* - authentication flowstana-api sits in front of all other Tana services. clients connect only to the gateway, which handles routing and load distribution across the service mesh.
unified API gateway for the Tana blockchain platform.
tana-api is the public-facing entry point for all client requests. it routes traffic to internal microservices, providing a single endpoint for CLI tools, mobile apps, and web applications to interact with the blockchain.
clients send requests to tana-api, which examines the path and forwards the request to the appropriate internal service. responses flow back through the gateway to the client.
clients (CLI, mobile, web)
|
v
tana-api
|
+--------+--------+--------+--------+
| | | | |
queue ledger edge mesh identity
(write) (read) (exec) (net) (auth)
built with TypeScript and Bun for high-performance HTTP proxying. the gateway adds minimal latency while providing a consistent interface regardless of internal service organization.
the gateway exposes a unified API that mirrors the internal services:
POST /transactions - submit transactionsGET /users, GET /balances - query stateGET /blocks - query blockchainGET /contracts/:id/* - execute contract handlersGET /nodes - network topologyPOST /auth/* - authentication flowstana-api sits in front of all other Tana services. clients connect only to the gateway, which handles routing and load distribution across the service mesh.