For AI agents: an LLM-friendly Markdown version of every page is available by appending .md to its URL or by sending an Accept: text/markdown request header. The full documentation index is at https://www.ankr.com/docs/llms.txt
Skip to main content

Supported Chains: C-I (4/4)

Supported chains C-I on the Web3 API platform. See the full chain list for every network.

Part 4 of 4: 1 · 2 · 3 · 4

IoTeX


tip

Available for Freemium and Premium users.

IoTeX API is available on Web3 API platform.

IoTeX Network is the lightning-fast, ultra-secure, and highly scalable blockchain platform that connects real world data to on-chain Dapps.

Official quick links: Website, Docs, GitHub

Networks

  • Mainnet (HTTPS and WSS)
  • Testnet (HTTPS and WSS)

Add networks to MetaMask

Using Ankr as the blockchain provider for MetaMask makes user interaction on Web3 not just easy and slick but also PRIVATE. We DON'T collect users' blockchain addresses — end of the story. Feel free to check our terms and privacy policy to be sure.

For MetaMask to interact with IoTeX through Ankr's infrastructure, add a required IoTeX network either via Web3 API platform's or MetaMask's UI.

Via Web3 API platform

To be added soon.

Via MetaMask

To add IoTeX Mainnet, follow these steps:

  1. In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.

  2. In the Add a network pane, click Add a network manually, then enter the network details and click Save:

    • Network name: IoTeX Mainnet by Ankr RPC.
    • New RPC URL: https://rpc.ankr.com/iotex/{your_token}.
    • Chain ID: 4689.
    • Currency symbol: IOTX.
    • Block explorer URL: https://iotexscan.io/.

Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with IoTeX Mainnet.

API methods

For IoTeX, we support blockchain interaction via all the applicable methods except for those listed as unsupported.

Unsupported

warning

This section contains a list of methods we don't support for Premium service plan.

tip

If you require any of the methods from the list, contact our Sales (sales@ankr.com) about moving to the Enterprise service plan that can provide the services tailored to your specific needs.

HTTPS:

eth_newFilter, eth_getFilterChanges, eth_syncing, eth_coinbase, eth_hashrate, eth_mining, eth_getWork, eth_submitWork, eth_submitHashrate, eth_accounts, eth_getStorageAt, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber, eth_sign, eth_signTransaction, eth_sendTransaction, eth_getUncleByBlockHashAndIndex, eth_getUncleByBlockNumberAndIndex, eth_newBlockFilter, eth_newPendingTransactionFilter, eth_uninstallFilter, eth_getFilterLogs, eth_pendingTransactions,

debug_* (exception: debug_traceBlockByHash, debug_traceBlockByNumber, debug_traceTransaction, debug_traceCall, debug_traceBlock),

personal_*, admin_*, clique_*, les_*, miner_*, db_*, shh_*

WSS:

txpool_content, txpool_inspect, txpool_status, txpool_contentFrom

API querying

Request example

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

Response example

{
"id":1,
"jsonrpc":"2.0",
"result":"0x139dbf4"
}