AxionaxAxionax
← Back to Documentation

API Reference

The Axionax RPC API is fully compatible with standard Ethereum JSON-RPC specifications, allowing you to use existing tools like ethers.js, viem, or web3.js seamlessly.

RPC Endpoints

  • Global Gateway: https://rpc.axionax.org
  • EU Region: http://217.76.61.116:8545
  • AU Region: http://46.250.244.4:8545

Standard Methods

All standard eth_* methods are supported. Below are common examples.

eth_blockNumber

Returns the number of the most recent block.

curl -X POST https://rpc.axionax.org \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

eth_getBalance

Returns the balance of the account of given address.

curl -X POST https://rpc.axionax.org \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYourAddress","latest"],"id":1}'

DeAI Custom Methods

Axionax introduces custom RPC methods for interacting with the Decentralized AI (DeAI) layer. These will be available in Protocol v2.0.

deai_submitTask

Submit an AI task (e.g., ASR inference) to the validator network.

// Coming in v2.0
// Requires PoPC (Proof of Probabilistic Checking) validation

Rate Limits

The public RPC endpoint (https://rpc.axionax.org) is rate-limited to 100 requests per second per IP. For production applications, we recommend running your own RPC node. See the Deployment Guide.

Site visitsผู้เข้าชมสะสม: