Skip to main content

Endpoints & JSON-RPC

Khromosome exposes a standard Ethereum JSON-RPC API. Point any Ethereum library or wallet at the endpoints below.

Network endpoints

ServiceURL
JSON-RPC (HTTPS)https://rpc.khromosome.xyz
JSON-RPC (WebSocket)wss://ws.khromosome.xyz
Explorerhttps://explorer.khromosome.network
Faucethttps://faucet.khromosome.network
Contract verification (Sourcify)https://sourcify.khromosome.network
Stakinghttps://staking.khromosome.network
Apphttps://app.khromosome.network

Network parameters

FieldValue
Chain ID777001 (0xBDB29)
CurrencyKHROME (18 decimals)

Common JSON-RPC calls

Chain ID:

curl -s https://rpc.khromosome.xyz \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
# => {"jsonrpc":"2.0","id":1,"result":"0xbdb29"}

Latest block number:

curl -s https://rpc.khromosome.xyz \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Account balance (wei, hex):

curl -s https://rpc.khromosome.xyz \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'

Gas price:

curl -s https://rpc.khromosome.xyz \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":1}'

Because the EVM is unmodified, the full standard eth_*, net_*, and web3_* method set is available, plus the explorer's ots_* (Otterscan) namespace for rich transaction tracing.