JSON-RPC API

Standard Ethereum JSON-RPC 2.0 implementation with solaris extensions.

Raw Interface.

Kortana maintains full 1:1 compatibility with the Ethereum JSON-RPC 2.0 specification. Developers can use standard libraries like `ethers.js`, `web3.js`, or `viem` to interact with the network.

eth_blockNumber

Returns the latest block number indexed by the Kortana network.

Sample Return
0x4A2C1 (303809)
eth_getBalance

Retrieves the DNR balance of a specific wallet address.

Sample Return
0xde0b6b3a7640000 (1.0 DNR)
eth_estimateGas

Calculates the solaris gas required for a specific transaction.

Sample Return
0x5208
kortana_getNetworkStatus

Native extension: returns TPS, node count, and epoch health.

Sample Return
{ tps: 52000, nodes: 140 }