Explorer API

Read Qlattice devnet blocks, signed transactions and account state over HTTPS. Public reads work without an API key.

BASE URLhttps://api.qlattice.xyz/dev/v1

Make your first request

Read the current height, then use that height to fetch a block and its transactions.

Shell · cURL + jq

BASE=https://api.qlattice.xyz/dev/v1
HEIGHT=$(curl -fsS "$BASE/status" | jq -r '.height')
curl -fsS "$BASE/blocks/$HEIGHT" | jq '{number, hash, gasUsed}'

HTTP requests

Use GET for the response body or HEAD for headers. Indexed resources return application/json. CSV downloads return text/csv. Responses are served with Cache-Control: no-store.

Public reads support cross-origin browser requests. Use /blocks, /transactions and /transfers with a cursor for longer histories.

Networks and freshness

The devnet uses /dev/v1. The future testnet uses /testnet/v1 and mainnet uses /v1. Find their availability at API discovery.

The index checks the devnet every minute. Blocks, transactions, transfers and CSV exports remain readable at the last indexed height if the node goes offline. Account balances, nonces and bytecode require a live node. Indexed inclusion can change during a reorganization.

Read native quantities

RPC-derived quantities are hexadecimal strings. The status height, chain ID and account snapshot height are decimal JSON numbers. Use integer arithmetic for balances, fees and nonces.

JavaScript

const base = "https://api.qlattice.xyz/dev/v1";
const response = await fetch(base + "/status");
if (!response.ok) throw new Error("HTTP " + response.status);
const { height, baseFee } = await response.json();
console.log(height, baseFee === null ? null : BigInt(baseFee));

Endpoint reference