RPC Endpoints
Below, you find a list of official and third-party IoTeX endpoints for both full node and archive nodes. These endpoints can be used to configure any Ethereum wallet or developer tool to interact with the IoTeX blockchain.
→ Interested in running an IoTeX RPC Node?
Checkout the dedicated section to learn how to run an IoTeX full node if you want to spin up an IoTeX RPC endpoint.
Official Ethereum JSON-API
Please refer to the official Ethereum Documentation for the RPC JSON API:
IoTeX Mainnet
EVM Chain ID: 4689
Full Node
Archive Node
IoTeX Testnet
EVM Chain ID: 4690
Archive Node
Examples
Query an IoTeX full node to get the current IOTX balance for an address
The code below utilizes curl
to query the public IoTeX RPC full-node endpoint to check the balance of 0xE584...C5D46
on the IoTeX Blockchain:
Which returns the balance in WEI 0x10f0cf064dd59200000
(decimal 5000¹⁸
, equivalent to 5000 IOTX
).
Query an IoTeX archive node to get the IOTX balance for an address in the past
Input block: 30,000,000 (0x1C9C380)
Query all Transfer events for ioUSDT on IoTeX in a certain blocks range:
Last updated