THE TOOLKIT FOR BUILDING ON TELCOIN
Your next idea.
Built on Telcoin.
Blockchain reads, indexed history and tools that fit your stack. Bring your application. We’ll handle the network access.
REST API · TypeScript & .NET SDKs · One shared account allowance

Mainnet requires separate production activation.
Core API Features
Blockchain Queries
Query native TEL balances, transactions, receipts and blocks with simple REST endpoints.
GET /{network}/api/v1/balances/:addressManaged Network Access
Managed REST access to Telcoin without running your own blockchain node.
API Key Controls
API key authentication, account rate limits, encrypted key storage and credential rotation.
Account Usage
Track admitted requests and remaining monthly allowance across your account keys and both enabled networks.
Defined Account Limits
Review monthly quotas and request rates before integrating. Contractual SLAs are not included in current plans.
Developer Experience
Public API documentation, published TypeScript and .NET SDKs, and examples for your first request.
Planned Capabilities
Indexer-driven webhooks are planned as a separate paid add-on. Observer-node provisioning and dedicated capacity are not included in current plans.
Comprehensive API Endpoints
Replace {network} with adiri or mainnet. Staging supports Adiri only; mainnet requires production activation.
REST and SDK examples
Choose the network in your API URL
Keep the API key on your backend. Use the API origin for your environment, then add /adiri or /mainnet.
/adiri/api/v1/blocks/latestStaging and configured production/mainnet/api/v1/blocks/latestProduction only, after activationStaging is Adiri only. A mainnet request will not fall back to Adiri. On production, both enabled networks share your account keys, monthly quota and rate limit: 500 Adiri calls + 500 mainnet calls use 1,000 requests.
For this environment, set OPRAIL_API_ORIGIN to https://api.oprail.com. Use an origin without a network path or trailing slash.
cURL · Adiri request
curl --fail-with-body \
"$OPRAIL_API_ORIGIN/adiri/api/v1/blocks/latest" \
-H "X-API-Key: $OPRAIL_API_KEY"cURL · Mainnet on production
Set OPRAIL_PRODUCTION_API_ORIGIN to your approved production API origin. Mainnet must be enabled there.
curl --fail-with-body \
"$OPRAIL_PRODUCTION_API_ORIGIN/mainnet/api/v1/blocks/latest" \
-H "X-API-Key: $OPRAIL_API_KEY"TypeScript SDK · Explicit network selection
import { OpRailClient } from '@oprail/sdk';
// Staging: adiri. Production: either enabled network.
const network: 'adiri' | 'mainnet' = 'adiri';
const origin = process.env.OPRAIL_API_ORIGIN!.replace(/\/+$/, '');
const client = new OpRailClient({
apiKey: process.env.OPRAIL_API_KEY!,
baseUrl: `${origin}/${network}`,
enableRetries: false
});
const block = await client.blocks.getLatest();
console.log(block.number);Use npm install @oprail/sdk. Select mainnet only with a configured production API origin and its account key.
.NET SDK · Explicit network selection
using OpRail.Sdk;
// Staging: adiri. Mainnet requires enabled production.
var network = "adiri";
var origin = Environment.GetEnvironmentVariable(
"OPRAIL_API_ORIGIN")!.TrimEnd('/');
using var client = new OpRailClient(
new Uri($"{origin}/{network}/"),
Environment.GetEnvironmentVariable("OPRAIL_API_KEY")!);
var block = await client.GetLatestBlockAsync();
Console.WriteLine(block.Number);Use dotnet add package OpRail.Sdk. The trailing network slash is part of the SDK base URL.
These examples use the RPC methods in the published SDKs. SDK 0.2.0 includes indexed-history helpers, available with the enabled Adiri staging API. Mainnet history requires separate activation. Historical-data guide →