Skip to main content

Network

Lenarchain currently runs as a mainnet alpha: a lightweight chain that supports transfers only. The RPC API may change as more features are added.

Base URL

The public node is available at https://alpha.lenarchain.xyz.

Endpoints

Number format

Integers from uint64 up to uint256 are returned as decimal strings, for example "balance": "11910600000100600000" or "nonce": "19". Smaller integers (uint8, uint16, uint32), such as status, version, chainid, and position, are returned as JSON numbers. In Python, convert a string number with int():

Errors

When a request fails, the response contains a single error field with a message.
HTTP status codes will be documented in a future update.