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

FROM IDEA TO ONCHAINOpRail toolkit
Your applicationTypeScript · .NET · REST
OpRailOne authenticated API
Live readsBlocks & transactions
Indexed historyTransfers & logs
Access controlsKeys & usage
Connect to Adiri today.
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/:address
⚡

Managed 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.

GET
/{network}/api/v1/balances/:address
Get wallet balance
GET
/{network}/api/v1/transactions/:hash
Get transaction details
GET
/{network}/api/v1/blocks/:number
Get block information
GET
/{network}/api/v1/gas-price
Get current gas price
POST
/{network}/api/v1/transactions/send
Broadcast a caller-signed transaction
GET
/{network}/api/v1/transactions/:hash/receipt
Get execution status and event logs

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/adiri/api/v1/blocks/latestStaging and configured production
Mainnet/mainnet/api/v1/blocks/latestProduction only, after activation

Staging 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 →

Ready to get started?

Start building on Telcoin with a free OpRail account.

Get Your API Key
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.