Chains Quickstart
This docs section provides the list of all chains available on RPC Service (opens in a new tab). Each chain in the list contains a short overview and the networks supported. It also contains info on adding those networks to MetaMask. Moreover, it outlines the API methods to interact with the network as well as the methods we don't support entirely for either Public or Premium service plans. And the cherry on top, each chain contains code snippets with basic requests in various languages and the corresponding JSON responses.

Chains supported:
Aptos
The Aptos blockchain, designed with scalability, safety, reliability, and upgradability as key principles, to address blockchain challenges, such as frequent outages, high costs, low throughput limits, and security concerns. The Aptos blockchain has been developed over the past three years by over 350+ developers across the globe. It offers new and novel innovations in consensus, smart contract design, system security, performance, and decentralization. The combination of these technologies will provide a fundamental building block to bring web3 to the masses.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
) - Testnet (
HTTPS
)
API methods
For Aptos, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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.
/v1/spec
, /v1/-/healthy
Arbitrum
Arbitrum is a side chain that runs parallel to Ethereum Mainnet. Also known as a Layer 2 (L2) scaling solution, Arbitrum improves transaction speeds and cost compared to the mainnet, making it an excellent solution for Ethereum developers.
By the Arbitrum we mean Arbitrum One which is the flagship Arbitrum mainnet chain; it is an Optimistic Rollup chain running on top of Ethereum Mainnet, and is open to all users. In an upgrade on 8/31, the Arbitrum One chain was upgraded to use the Nitro (opens in a new tab) tech stack, maintaining the same state.
Official quick links:
- Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
- Community treasury address (opens in a new tab) (
0x8C316E77c4D4aBc461a074cf68c04DD666c57b42
)
Networks
- Mainnet (
HTTPS
andWSS
)
API methods
For Arbitrum, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/arbitrum \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x2484729"
}
Arbitrum Nova
Arbitrum Nova offers an ultra-low transaction costs with high security. Nova powers dapps with high transaction volumes that seek to drive costs even lower.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
API methods
For Arbitrum Nova, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/arbitrumnova \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x257932"
}
Avalanche
Avalanche is an open-source platform for launching decentralized applications and enterprise blockchain deployments in one interoperable, highly scalable ecosystem. Avalanche is the first decentralized smart contracts platform built for the scale of global finance, with near-instant transaction finality. Ethereum developers can quickly build on Avalanche as Solidity works out-of-the-box.
Avalanche is an ecosystem that features three built-in blockchains: Exchange Chain (X-Chain) (opens in a new tab), Platform Chain (P-Chain) (opens in a new tab), and Contract Chain (C-Chain) (opens in a new tab).
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet / Fuji Testnet:
- Standard EVM API (
HTTPS
andWSS
) - X-Chain (
HTTPS
) - P-Chain (
HTTPS
) - C-Chain (
HTTPS
)
- Standard EVM API (
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Avalanche through Ankr's infrastructure, add a required Avalanche network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Avalanche Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Avalanche Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/avalanche/
. - Chain ID:
43114
. - Currency symbol:
AVAX
. - Block explorer URL:
https://snowtrace.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Avalanche Mainnet.
To add Avalanche Fuji Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Avalanche Fuji Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/avalanche_fuji/
. - Chain ID:
43113
. - Currency symbol:
AVAX
. - Block explorer URL:
https://testnet.snowtrace.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Avalanche Fuji Testnet.
API methods
For Avalanche, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
, eth_submitWork
, eth_submitHashrate
, net_peerCount
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
,
avm.createAddress
, avm.exportKey
, avm.importKey
, avm.export
, avm.import
, avm.mint
, avm.createFixedCapAsset
, avm.createVariableCapAsset
, avm.createNFTAsset
, avm.mintNFT
, avm.listAddresses
, avm.send
, avm.sendMultiple
, avm.sendNFT
, wallet.send
, wallet.sendMultiple
, wallet.issueTx
, avax.export
, avax.exportAVAX
, avax.exportKey
, avax.import
, avax.importAVAX
, avax.importKey
,
platform.addDelegator
, platform.addValidator
, platform.addSubnetValidator
, platform.createAddress
, platform.createBlockchain
, platform.createSubnet
, platform.exportAVAX
, platform.exportKey
, platform.importAVAX
, platform.importKey
, platform.listAddresses
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/avalanche \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"result":"0x155ea63",
"id":1
}
BNB Smart Chain
BNB Smart Chain (BSC) (previously Binance Smart Chain) is an innovative solution to bring programmability and interoperability to Beacon Chain. BNB Smart Chain relies on a system of 21 active validators with Proof of Staked Authority (PoSA) consensus that can support short block time and lower fees. The most bonded validator candidates of staking will become validators and produce blocks. The double-sign detection and other slashing logic guarantee security, stability, and chain finality.
To the EVM compatibility that permits support for Ethereum tools and DApps, BNB Smart Chain adds smart contract functionality to the chain. The dual-chain architecture alongside Binance Chain enables sending and receiving of BNB and BEP2 tokens cross-chain.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Chapel Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with BNB Smart Chain through Ankr's infrastructure, add a required BNB Smart Chain network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add BNB Smart Chain Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
BNB Smart Chain Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/bsc/
. - Chain ID:
56
. - Currency symbol:
BNB
. - Block explorer URL:
https://bscscan.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with BNB Smart Chain Mainnet.
To add BNB Smart Chain Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
BNB Smart Chain Chapel Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/bsc_testnet_chapel/
. - Chain ID:
97
. - Currency symbol:
BNB
. - Block explorer URL:
https://testnet.bscscan.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with BNB Smart Chain Chapel Testnet.
API methods
For BNB Smart Chain, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/bsc \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x1601d3a"
}
BitTorrent Chain
BitTorrent Chain (BTTC) is a layer 2 scaling solution, BTTC strives to solve scalability and usability issues without compromising decentralization, and can make full use of the existing Ethereum developer community and ecosystem. BTTC is fully compatible with Ethereum, and existing applications on Ethereum can be easily migrated to this BTTC. In addition to the same experience as Ethereum, users can also enjoy ultra-high throughput and extremely low fees.
Users can conduct fast, low-cost, and safe transactions on BTTC, and assets on BTTC can be easily transferred between Ethereum, TRON, and BNB Smart Chain.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with BitTorrent Chain through Ankr's infrastructure, add a required BitTorrent Chain network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add BitTorrent Chain Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
BitTorrent Chain Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/bttc/
. - Chain ID:
199
. - Currency symbol:
BTT
. - Block explorer URL:
https://scan.bt.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with BitTorrent Chain Mainnet.
API methods
For BitTorrent Chain, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/bttc \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0xd91939"
}
Celo
Celo is a mobile-first blockchain designed to make decentralized financial (DeFi) tools and services accessible to anyone with a mobile phone.
Celo is a layer 1 protocol and blockchain platform. The Celo Mainnet is entirely separate from the Ethereum network. The Celo client originated as a fork of Ethereum Go language client, go-ethereum (opens in a new tab) (or geth). Celo has several significant differences, including a Proof-of-Stake-based Practical Byzantine Fault Tolerance (PBFT) consensus mechanism.
All the crypto assets on Celo have ERC-20 compliant interfaces, meaning that while they are not ERC-20 tokens on the Ethereum Mainnet, all familiar tooling and code that support ERC-20 tokens can be easily adapted for Celo assets, including Celo Native Asset (CELO) and Celo Dollar (cUSD).
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Celo through Ankr's infrastructure, add a required Celo network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Celo Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Celo Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/celo/
. - Chain ID:
42220
. - Currency symbol:
CELO
. - Block explorer URL:
https://explorer.celo.org/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Celo Mainnet.
API methods
For Celo, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/celo \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0xf6b842"
}
Ethereum
Ethereum is a blockchain with a computer embedded in it. It is the foundation for building apps and organizations in a decentralized, permissionless, censorship-resistant way. Ethereum uses a proof-of-stake-based consensus mechanism (opens in a new tab).
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet:
- Goerli (
HTTPS
andWSS
) - Sepolia (
HTTPS
andWSS
)
- Goerli (
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Ethereum through Ankr's infrastructure, add a required Ethereum network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Ethereum Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Ethereum Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/eth/
. - Chain ID:
1
. - Currency symbol:
ETH
. - Block explorer URL:
https://etherscan.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Ethereum Mainnet.
To add Ethereum Goerli Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Ethereum Goerli Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/eth_goerli/
. - Chain ID:
5
. - Currency symbol:
ETH
. - Block explorer URL:
https://goerli.etherscan.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Ethereum Goerli Testnet.
To add Ethereum Sepolia Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Ethereum Sepolia Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/eth_sepolia/
. - Chain ID:
11155111
. - Currency symbol:
ETH
. - Block explorer URL:
https://sepolia.etherscan.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Ethereum Sepolia Testnet.
API methods
For Ethereum, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/eth \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'
Response example
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xf3c34b"
}
Fantom
Fantom is a fast, scalable, and secure layer-1 platform built on an aBFT consensus protocol. Fantom is permissionless, decentralized, open-source, and fully compatible with Ethereum.
Lachesis, its revolutionary aBFT consensus mechanism, allows Fantom to be much faster and cheaper than previous technologies, yet extremely secure.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Fantom through Ankr's infrastructure, add a required Fantom network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Fantom Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Fantom Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/fantom/
. - Chain ID:
250
. - Currency symbol:
FTM
. - Block explorer URL:
https://ftmscan.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Fantom Mainnet.
To add Fantom Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Fantom Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/fantom_testnet/
. - Chain ID:
4002
. - Currency symbol:
FTM
. - Block explorer URL:
https://testnet.ftmscan.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Fantom Testnet.
API methods
For Fantom, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/gnosis \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"result":"0x17d5c3d",
"id":1
}
Filecoin
Filecoin is a peer-to-peer network that stores files, with built-in economic incentives and cryptography to ensure files are stored reliably over time.
Filecoin is built on top of the same software powering IPFS (opens in a new tab) protocol, which is a peer-to-peer distributed storage network that leverages content addressing (opens in a new tab) to allow permanent references to the data, and avoids relying on specific devices or cloud servers for addressing the content. Filecoin is different from IPFS because it has an incentive layer on top to incentivize contents to be reliably stored and accessed.
Filecoin enables several use cases, from Web3 native NFT and metaverse/game assets storage, incentivized permanent storage, to archiving Web2 datasets as a cheaper alternative to cloud storage.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
API methods
For Filecoin, we support blockchain interaction via the following methods:
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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 EVM methods:
eth_newFilter
, eth_getFilterChanges
, eth_syncing
, eth_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS EVM methods:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
WSS Filecoin methods:
Filecoin.ChainNotify
Gnosis
Gnosis Chain (formerly xDai Chain) provides stability, scalability and an extendable beacon chain framework.
Development on Gnosis Chain is straightforward for Ethereum developers as it is an EVM compatible chain. Smart contracts can be written and deployed in the same way as for Ethereum just by setting a different RPC endpoint.
Any contract that works on the Ethereum mainnet can be redeployed to the Gnosis chain. Transaction costs are minimized, and all fees and transactions are paid with a single token (xDai). Many tools supporting Ethereum development are compatible with Gnosis Chain.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Gnosis Chain through Ankr's infrastructure, add a required Gnosis Chain network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Gnosis Chain Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Gnosis Chain Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/gnosis/
. - Chain ID:
100
. - Currency symbol:
xDai
. - Block explorer URL:
https://blockscout.com/xdai/mainnet/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Gnosis Chain Mainnet.
API methods
For Gnosis, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/gnosis \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"result":"0x17d5c3d",
"id":1
}
Harmony
Harmony is a fast and secure blockchain for decentralized applications. Production mainnet is expected to support 4 shards of 1000 nodes, producing blocks in 2 seconds with finality.
An Effective Proof-of-Stake (EPoS) reduces centralization while supporting stake delegation, reward compounding and double-sign slashing.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Harmony through Ankr's infrastructure, add a required Harmony network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Harmony Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Harmony Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/harmony/
. - Chain ID:
1666600000
. - Currency symbol:
ONE
. - Block explorer URL:
https://explorer.harmony.one/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Harmony Mainnet.
API methods
For Harmony, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
,
hmyv2_getCurrentBadBlocks
, hmyv2_getNodeMetadata
, hmy_getFilterLogs
, hmy_newFilter
, eth_newPendingTransactionFilter
, eth_newBlockFilter
, hmy_getFilterChanges
, hmy_syncing
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/harmony \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x206a48d"
}
Huobi ECO Chain
Available for Premium users only.
Huobi ECO Chain (HECO) is a decentralized, high-efficiency and energy-saving public chain. It is compatible with smart contracts and supports high- performance transactions. The endogenous token of Heco is HT, and it adopts the HPoS consensus mechanism. Heco will continue to improve the efficiency of Ethereum by Layer2, which will supplement and empower the Ethereum ecosystem.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
API methods
For HECO, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/heco/{your_token} \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x15bafe2"
}
IoTeX
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 (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with IoTeX through Ankr's infrastructure, add a required IoTeX network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add IoTeX Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
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/
. - Chain ID:
4689
. - Currency symbol:
IOTX
. - Block explorer URL:
https://iotexscan.io/
.
- Network name:
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
This section contains a list of methods we don't support for either Public or Premium service plans.
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_*
,
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 \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"id":1,
"jsonrpc":"2.0",
"result":"0x139dbf4"
}
Klaytn
Klaytn is a highly optimized, BFT-based public blockchain that aims to meet the enterprise-grade reliability.
Key design goals are:
- Immediate finality.
- High TPS that meets real-world use cases.
- Lower the cost of running Blockchain Applications.
- Lower the barriers to entry for end-users.
- Ease the technology adoption process for industry.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Klaytn through Ankr's infrastructure, add a required Klaytn network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Klaytn Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Klaytn Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/klaytn/
. - Chain ID:
8217
. - Currency symbol:
KLAY
. - Block explorer URL:
https://scope.klaytn.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Klaytn Mainnet.
To add Klaytn Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Klaytn Baoban Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/klaytn_testnet/
. - Chain ID:
1001
. - Currency symbol:
KLAY
. - Block explorer URL:
https://baobab.scope.klaytn.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Klaytn Testnet.
API methods
For Klaytn, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
,
klay_sign
,
klay_syncing
,
klay_clientVersion
,
klay_isParallelDBWrite
,
klay_isSenderTxHashIndexingEnabled
,
klay_protocolVersion
,
klay_rewardbase
,
klay_getFilterChanges
,
klay_getFilterLogs
,
klay_newBlockFilter
,
klay_newFilter
,
klay_newPendingTransactionFilter
,
klay_uninstallFilter
,
net_listening
,
net_peerCount
,
net_peerCountByType
,
klay_sendTransaction
,
klay_sendTransactionAsFeePayer
,
klay_signTransaction
,
klay_signTransactionAsFeePayer
,
governance_*
,
mainbridge_*
,
subbridge_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/klaytn \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x65aab81"
}
Kusama
Available for Premium users only.
Kusama is an early release of Polkadot: a scalable, multichain network for radical innovation. Kusama serves as a proving ground that allows teams and developers to build and deploy a parachain, and experiment with Polkadot’s governance and NPoS functionality in a real environment.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
API methods
For Kusama, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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.
state_getMetadata
,
state_getPairs
,
state_traceBlock
,
state_trieMigrationStatus
,
state_subscribeStorage
,
state_unsubscribeStorage
,
state_queryStorage
,
sync_state_genSyncSpec
,
system_accountNextIndex
,
system_addLogFilter
,
system_addReservedPeer
,
system_health
,
system_localListenAddresses
,
system_localPeerId
,
system_name
,
system_nodeRoles
,
system_peers
,
system_properties
,
system_removeReservedPeer
,
system_reservedPeers
,
system_resetLogFilter
,
system_syncState
,
system_unstable_networkState
,
system_version
,
account_*
,
babe_*
,
mmr_*
,
dev_*
,
offchain_*
,
author_*
Metis
Available for Premium users only.
Metis is an Ethereum Layer 2 Rollup platform that offers simple and fast smart contract deployment within the network. Metis provides several solutions to solve the big challenges we face in the Ethereum mainnet, including transaction speed, cost, and scalability.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
API methods
For Metis, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/metis/{your_token} \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x45cd53"
}
Moonbeam
Moonbeam is the most Ethereum compatible smart-contract parachain in the Polkadot ecosystem. It combines the best of both worlds: the familiar and easy-to-use tooling of Ethereum and the scalable, interoperable architecture of Polkadot.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Moonbeam through Ankr's infrastructure, add a required Moonbeam network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Moonbeam Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Moonbeam Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/moonbeam/
. - Chain ID:
1284
. - Currency symbol:
GLMR
. - Block explorer URL:
https://moonbeam.moonscan.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Moonbeam Mainnet.
API methods
For Moonbeam, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Request example
curl -X POST https://rpc.ankr.com/moonbeam \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"result":"0x23218d",
"id":1
}
NEAR
NEAR is a user-friendly and carbon-neutral blockchain, built from the ground up to be performant, secure, and infinitely scalable.
In technical terms, NEAR is a layer one, sharded, proof-of-stake blockchain built with usability in mind.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
)
API methods
For Near, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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.
sandbox_patch_state
,
status
,
network_info
Nervos
Nervos blockchain, also known as Common Knowledge Base, is the rock-bottom layer of the Nervos ecosystem. As the foundation, Nervos blockchain provides trust for all the layers built on top of it. It is designed to maximize decentralization while remaining minimal, flexible, and secure. Its primary objective is to reliably preserve any data and assets stored therein.
Nervos blockchain ecosystem has a multi-layer architecture — both a Layer 1 solution (Nervos CKB) and a Layer 2 (Godwoken). Nervos CKB is a public permissionless blockchain using PoW and improved Nakamoto consensus.
Godwoken comprises two key components: the Godwoken optimistic rollup framework and the Polyjuice EVM-compatible framework. Polyjuice serves as the backend for the Godwoken rollup framework, providing an Ethereum-compatible layer atop Nervos CKB. Polyjuice leverages the account model and the scalability provided by Godwoken, and integrates evmone (opens in a new tab) as the EVM engine to run Ethereum smart contracts.
Official quick links: Website (opens in a new tab), CKB Docs (opens in a new tab), Godwoken Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Standard EVM and Polyjuice API (
HTTPS
) - Godwoken API (
HTTPS
) - Nervos CKB API (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Nervos through Ankr's infrastructure, add a required Nervos network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Godwoken/PolyJuice Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Godwoken/PolyJuice Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/nervos/
. - Chain ID:
71402
. - Currency symbol:
CKB
. - Block explorer URL:
https://v0.gwscan.com/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Godwoken/PolyJuice Mainnet.
API methods
For Nervos, we support blockchain interaction via all the applicable methods except for those listed as unsupported.
Unsupported
This section contains a list of methods we don't support for either Public or Premium service plans.
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_coinbase
, eth_hashrate
, eth_mining
, eth_getWork
,eth_submitWork
, eth_submitHashrate
, net_peerCount
, eth_newBlockFilter
, eth_newPendingTransactionFilter
, eth_uninstallFilter
, eth_getFilterLogs
,
debug_*
, personal_*
, admin_*
, clique_*
, les_*
, miner_*
, engine_*
, parity_*
,
send_alert
,
process_block_without_verify
,
truncate
,
generate_block
,
notify_transaction
,
generate_block_with_template
,
calculate_dao_field
,
get_block_template
,
submit_block
,
local_node_info
,
get_peers
,
get_banned_addresses
,
clear_banned_addresses
,
set_ban
,
sync_state
,
set_network_active
,
add_node
,
remove_node
,
ping_peers
,
clear_tx_pool
WSS:
txpool_content
, txpool_inspect
, txpool_status
, txpool_contentFrom
API querying
Below are the request examples applicable for Standard EVM and Polyjuice API.
Request example
curl -X POST https://rpc.ankr.com/nervos \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x37e7d"
}
Optimism
Optimism is a fast, stable, and scalable L2 blockchain built by Ethereum developers, for Ethereum developers. Built as a minimal extension to existing Ethereum software, Optimism’s EVM-equivalent (opens in a new tab) architecture scales your Ethereum apps without surprises. If it works on Ethereum, it works on Optimism at a fraction of the cost.
With the OVM 2.0 upgrade, which happened on November 11th, 2021, the Optimism protocol went through its biggest upgrade to date. The primary focus of this upgrade was EVM Equivalence, a new design for Optimism that brought it close to 1:1 parity with Ethereum.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Mainnet (
HTTPS
andWSS
) - Testnet (
HTTPS
andWSS
)
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 (opens in a new tab) and privacy policy (opens in a new tab) to be sure.
For MetaMask to interact with Optimism through Ankr's infrastructure, add a required Optimism network either via RPC Service's or MetaMask's UI.
Via RPC Service
To be added soon.
Via MetaMask
To add Optimism Mainnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Optimism Mainnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/optimism/
. - Chain ID:
10
. - Currency symbol:
ETH
. - Block explorer URL:
https://optimistic.etherscan.io/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Optimism Mainnet.
To add Optimism Goerli Testnet, follow these steps:
-
In MetaMask extension, click Networks (drop-down menu) > Add network to open Settings.
-
In the Add a network pane, click Add a network manually, then enter the network details and click Save:
- Network name:
Optimism Goerli Testnet by Ankr RPC
. - New RPC URL:
https://rpc.ankr.com/optimism_testnet/
. - Chain ID:
420
. - Currency symbol:
ETH
. - Block explorer URL:
https://blockscout.com/optimism/goerli/
.
- Network name:
Congrats — you've just added Ankr as the blockchain provider for MetaMask to interact with Optimism Goerli Testnet.
API methods
For Optimism, we support blockchain interaction via all the applicable methods except for those listed as unsupported.