The Thru REST API provides HTTP endpoints for querying blockchain state, submitting transactions, and retrieving account and block data. The REST API is automatically generated from gRPC service definitions using gRPC-Gateway.Documentation Index
Fetch the complete documentation index at: https://docs.thru.org/llms.txt
Use this file to discover all available pages before exploring further.
API Endpoints
| Network | Endpoint | Protocol | Description |
|---|---|---|---|
| Alphanet | https://rest.alphanet.thruput.org | HTTPS | REST API over HTTP/1.1 |
Request Format
All REST API requests use standard HTTP methods:GET Requests
Retrieve blockchain data including accounts, blocks, and transactions
POST Requests
Submit transactions and execute state-changing operations
Response Format
All responses are returned in JSON format with standard HTTP status codes:Success Response (200)
Success Response (200)
Error Response (4xx/5xx)
Error Response (4xx/5xx)
Common Features
CORS Support
Cross-Origin Resource Sharing (CORS) is enabled for browser-based applications.Content Type
Requests should include the appropriateContent-Type header: