Skip to content
GitHub

lyth_* namespace

Testnet

Use the native lyth_* namespace directly or through RpcClient from exactly @monolythium/[email protected]. The examples in this release are read-only. Testnet 69420 is value-less and resettable; do not use real funds.

Method Response fields used by these docs
lyth_chainStats chainId, genesisHash, latestHeight, clusters.total
lyth_currentRound height
lyth_peerSummary peerCount, asOfBlock, versionDistribution
lyth_runtimeProvenance release, commit, binary hash, and genesis provenance fields exposed by the typed response
import { RpcClient } from "@monolythium/core-sdk";
const client = new RpcClient("https://rpc.monolythium.com");
const [stats, round, peers, runtime] = await Promise.all([
client.lythChainStats(),
client.lythCurrentRound(),
client.lythPeerSummary(),
client.lythRuntimeProvenance(),
]);
console.log({
chainId: stats.chainId,
genesisHash: stats.genesisHash,
height: round.height,
peers: peers.peerCount,
runtime,
});

The snippet is compiled by this repository’s exact-version SDK gate. Its four calls are also exercised by a safe read-only endpoint probe that distinguishes identity from stale/degraded health.

The published SDK includes more types and methods than this verified subset. Presence in the package does not prove that a node method is enabled or that a corresponding write path is supported. These docs do not publish agent-wallet, spending-policy, signing, submission, booking, payment, escrow, dispute, review, encrypted-submission, or bridge calls as available.