Developers

Build on Xenia

Payments are final in about 200 ms. Bring Ethereum or Solana code as it is, or use the plain HTTP API. Everything here is testnet: coins are free and have no value.

Endpoints

Explorer API
https://xeniaprotocol.io/v1
REST and JSON. Everything this site shows.
Live stream
wss://xeniaprotocol.io/v1/live
WebSocket. Blocks, votes and payments as they happen.
EVM JSON-RPC
https://xeniaprotocol.io/eth
Works with MetaMask, Foundry, Hardhat, viem and ethers.
SVM JSON-RPC
https://xeniaprotocol.io/sol
Works with the Solana CLI, Anchor and web3.js.
Faucet
https://xeniaprotocol.io/v1/faucet/drip
Free testnet tXNIA and tUSD, once a day.

Network details

NetworkXenia Protocol testnet
Chain id7300
EVM chain id7300
CointXNIA · 9 decimals
Block time20 ms
Final inabout 200 ms
In EVM tools tXNIA shows with 18 decimals, the Ethereum standard. The chain converts for you.

Quick start

Pick the tools you already use.

# The latest block
curl https://xeniaprotocol.io/v1/blocks?limit=1

# One payment, by id or receipt number
curl https://xeniaprotocol.io/v1/tx/4182337.41

# An account by name
curl https://xeniaprotocol.io/v1/accounts/maya.xenia

IDs you will see

Every id is bech32m, so a typo is caught before anything is sent. The prefix tells you what it is.

xen1…AccountA person, shop, app or agent. Names like maya.xenia point to one.
xtx1…PaymentAlso reachable by receipt number, block.position, for example 4182337.41.
xbk1…BlockAlso reachable by height.
xval1…ValidatorThe key a validator signs blocks with.
xvk1…View keyOpens a private payment for the person holding it. Never sent to the server.