Browse documentation

REFERENCE / REST v1

One API. Clear contracts.

Native blockchain reads, indexed historical data and guarded signed-byte submission. Authenticate customer requests with X-API-Key.

The tables and download use the reviewed public API schema shipped with this site. The download targets https://api.oprail.com/adiri; the live API schema reports that environment's available networks. See network selection before using production.

Live chain operations

MethodAdiri pathOperation
GET/adiri/api/v1/balances/{address}Get an address's native TEL balance
GET/adiri/api/v1/transactions/{txHash}Look up a transaction by hash
GET/adiri/api/v1/transactions/{txHash}/receiptGet transaction execution status and logs
GET/adiri/api/v1/blocks/{blockNumber}Get a block by decimal height
GET/adiri/api/v1/blocks/latestGet the current latest block
POST/adiri/api/v1/transactions/sendBroadcast a transaction signed by the caller
GET/adiri/api/v1/gas-priceGet the current suggested gas price
GET/adiri/api/v1/addresses/{address}/nonceGet an address's mined transaction count

Block reads accept includeTransactions=true. A transaction can be pending or mined; inclusion alone does not establish execution success. Check its receipt's status. A missing receipt returns receipt_unavailable.

Signed submission accepts bytes already signed by your application. It is gated per environment, does not retry or fail over automatically, and is disabled in staging. If a submission times out, reconcile its hash before considering a retry.

Indexed historical data

MethodAdiri pathOperation
GET/adiri/api/v1/history/statusRead indexed history coverage and source generation
GET/adiri/api/v1/addresses/{address}/transactionsPage indexed address transactions within complete historical coverage
GET/adiri/api/v1/addresses/{address}/transfersPage successful native TEL and ERC20 event-shaped transfers
GET/adiri/api/v1/logsPage indexed raw logs for a contract and bounded block range

Historical first pages require explicit inclusive block bounds. Continuation uses the returned opaque cursor. Read history coverage, filters and pagination before starting a backfill.

Exact values and empty results

Amounts, gas quantities and nonces are decimal strings. Use BigInt or BigInteger for base-unit arithmetic. Pending fields and contract-creation recipients can be null. An empty covered history page is valid; unavailable coverage and unsupported datasets are explicit errors.

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.