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 athttps://alpha.lenarchain.xyz.
Endpoints
Number format
Integers fromuint64 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 singleerror field with a message.
HTTP status codes will be documented in a future update.