Node API
Supported Chains
Chains Quickstart

Chains Quickstart

This docs section provides the list of all chains available on the Web3 API platform (opens in a new tab). Each chain in the list has the following information structure:

Overview —— Networks —— Adding to MetaMask —— Methods —— API Querying

  • Overview — chain description based on official docs with quicklinks to chain's website, docs, and GitHub.
  • Networks — networks (Mainnet/Testnet) and protocols (HTTPS/WSS) we support for each chain.
  • Adding to MetaMask — using Ankr as the blockchain provider for MetaMask.
  • Methods — supported (link to the chain's API Reference) and unsupported methods.
  • API Querying — code snippets with basic requests in various languages and the corresponding JSON responses.

Chain info

Chains supported

Find the chain you require and go to its docs section by clicking it.

AptosBNB Smart ChainGnosisKusamaPolygonSyscoin
ArbitrumCeloGnosis BeaconLineaPolygon zkEVMTaiko
Arbitrum NovaChilizHarmonyMantleRolluxTenet
AvalancheCoreHECO ChainMetisScrollTRON
BaseEthereumHorizen EONMoonbeamSecret NetworkXai
BitcoinEthereum BeaconIoTeXNEARSeiXDC
BitlayerFantomKavaNervosSolanaX Layer
BitTorrent ChainFilecoinKintoOptimismStellarzkSync Era
BlastFlareKlaytnPolkadotSui

Aptos


Aptos API is available on Web3 API platform (opens in a new tab).

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

API querying

Request example

curl -X GET https://rpc.ankr.com/http/aptos/v1/ \
-H 'Content-Type: application/json'

Response example

{
  "chain_id": 0,
  "epoch": "32425224034",
  "ledger_version": "32425224034",
  "oldest_ledger_version": "32425224034",
  "ledger_timestamp": "32425224034",
  "node_role": "validator",
  "oldest_block_height": "32425224034",
  "block_height": "32425224034",
  "git_hash": "string"
}

Arbitrum


Arbitrum API is available on Web3 API platform (opens in a new tab).

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:

Networks

  • Mainnet (HTTPS and WSS)

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

Public service plan has a 2MB request body limit. Use Premium instead for requests exceeding that limit.

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 API is available on Web3 API platform (opens in a new tab).

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 and WSS)

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 API is available on Web3 API platform (opens in a new tab).

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 and WSS)
    • X-Chain (HTTPS)
    • P-Chain (HTTPS)
    • C-Chain (HTTPS)

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 Web3 API platform's or MetaMask's UI.

Via Web3 API platform

To be added soon.

Via MetaMask

To add Avalanche 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: 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/.

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:

  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: 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/.

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 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:

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 (Standard EVM)

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 (Standard EVM)

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

Request example (P-Chain)

curl -X POST 'https://rpc.ankr.com/avalanche-p' \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"platform.getBalance",
    "params" :{
      "address":"P-custom18jma8ppw3nhx5r4ap8clazz0dps7rv5u9xde7p"
    }
}'

Response example (P-Chain)

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "txID": "NUPLwbt2hsYxpQg4H2o451hmTWQ4JZx2zMzM4SinwtHgAdX1JLPHXvWSXEnpecStLj"
  }
}

Request example (C-Chain)

curl -X POST 'https://rpc.ankr.com/avalanche-c' \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"avax.getAtomicTx",
    "params" : {
        "txID":"2GD5SRYJQr2kw5jE73trBFiAgVQyrCaeg223TaTyJFYXf2kPty",
        "encoding": "hex"
    }
}'

Response example (C-Chain)

{
  "jsonrpc": "2.0",
  "result": {
    "tx": "0x000000000000000030399d0775f450604bd2fbc49ce0c5c1c6dfeb2dc2acb8c92c26eeae6e6df4502b19d891ad56056d9c01f18f43f58b5c784ad07a4a49cf3d1f11623804b5cba2c6bf000000018212d6807a0ec9c1b26321418fe7a548180b5be728ce53fe7e98ab5755ed316100000001dbcf890f77f49b96857648b72b77f9f82937f28a68704af05da0dc12ba53f2db00000005000003a352a382400000000100000000000000018db97c7cece249c2b98bdc0226cc4c2a57bf52fc000003a3529edd17dbcf890f77f49b96857648b72b77f9f82937f28a68704af05da0dc12ba53f2db000000010000000900000001ead19377f015422fbb8731204fcf6d6879dd05146c2d5b5594e2fea2cb420b2f40bd457b71e279e547790b28fe5482f278c76cf39b2dce5c2e6c53352fe6827d002cc7d20d",
    "encoding": "hex",
    "blockHeight": "1"
  },
  "id": 1
}

Request example (X-Chain)

curl -X POST 'https://rpc.ankr.com/avalanche-x' \
-H 'Content-Type: application/json' \
-d '{
    "jsonrpc":"2.0",
    "id"     :1,
    "method" :"avm.getAddressTxs",
    "params" : {
      "address":"X-avax1dp6707ka34puejwg7ntnenxry98h37yvsqsm7f",
      "assetID":"AVAX",
      "pageSize":20
    }
}'

Response example (X-Chain)

{
  "jsonrpc": "2.0",
  "result": {
    "txIDs": ["SsJF7KKwxiUJkczygwmgLqo3XVRotmpKP8rMp74cpLuNLfwf6"],
    "cursor": "1"
  },
  "id": 1
}

Base


Base API is available on Web3 API platform (opens in a new tab).

Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users to web3.

Base is built on the Bedrock (opens in a new tab) release of the OP Stack (opens in a new tab), which is designed from the ground up to be as close to Ethereum as possible. Because of this, there are very little differences when it comes to building on Base and Ethereum.

However, there are still some minor discrepancies between the behavior of Base and Ethereum that you should be aware of when building apps on top of Base.

These minor differences include:

Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)

Networks

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

API methods

For Base, 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/base \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc":"2.0",
      "method":"eth_blockNumber",
      "params": [],
      "id":1
    }'

Response example

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

Bitcoin

Bitcoin API is available on Web3 API platform (opens in a new tab).

Bitcoin API provides the means for communication with the Bitcoin’s public ledger.

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 Bitcoin, 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:

savemempool, verifychain, getmemoryinfo, getrpcinfo, gettransaction, help, logging, stop, uptime, getblocktemplate, getmininginfo, getnetworkhashps, pruneblockchain, generateblock, generatetoaddress, generatetodescriptor, prioritisetransaction, submitblock, submitheader, addnode, clearbanned, disconnectnode, getaddednodeinfo, getconnectioncount, getnettotals, getnetworkinfo, getnodeaddresses, getpeerinfo, listbanned, ping, setban, setnetworkactive, signrawtransactionwithkey, createmultisig, getdescriptorinfo, signmessagewithprivkey, abandontransaction, abortrescan, addmultisigaddress, backupwallet, bumpfee, createwallet, dumpprivkey, dumpwallet, encryptwallet, getaddressesbylabel, getbalance, getbalances, getnewaddress, getrawchangeaddress, getreceivedbyaddress, getreceivedbylabel, getunconfirmedbalance, getwalletinfo, importaddress, importdescriptors, importmulti, importprivkey, importprunedfunds, importpubkey, importwallet, keypoolrefill, listaddressgroupings, listlabels, listlockunspent, listreceivedbyaddress, listreceivedbylabel, listtransactions, listsinceblock, listunspent, listwalletdir, listwallets, loadwallet, lockunspent, psbtbumpfee, removeprunedfunds, rescanblockchain, send, sendmany, sendtoaddress, sethdseed, setlabel, setwalletflag, signmessage, settxfee, signrawtransactionwithwallet, unloadwallet, upgradewallet, walletcreatefundedpsbt, walletlock, walletpassphrase, walletpassphrasechange, walletprocesspsbt, deriveaddresses, fundrawtransaction, scantxoutset, preciousblock, gettxoutsetinfo

API querying

Request example

curl -X POST https://rpc.ankr.com/btc \
-d '{
      "id": "hmm",
      "method": "getindexinfo",
      "params": []
}'

Response example

{
    "result": {
        "txindex": {
            "synced": true,
            "best_block_height": 843277
        },
        "basic block filter index": {
            "synced": true,
            "best_block_height": 843277
        }
    },
    "error": null,
    "id": "hmm"
}

Bitlayer

Bitlayer API is available on Web3 API platform (opens in a new tab).

Bitlayer is the first Bitcoin security-equivalent layer 2 based on BitVM. It consists of an EVM compatible chain/sequencer that can map BTC ecological assets and facilitate the entry of BTC users.

Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)

Networks

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

API methods

For Bitlayer, 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/bitlayer \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_blockNumber",
      "params": [],
      "id": 1
    }'

Response example

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

BitTorrent Chain


BitTorrent Chain API is available on Web3 API platform (opens in a new tab).

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 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 (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 Web3 API platform's or MetaMask's UI.

Via Web3 API platform

To be added soon.

Via MetaMask

To add BitTorrent Chain 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: 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/.

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"
}

Blast

Blast API is available on Web3 API platform (opens in a new tab).

Blast is the only Ethereum L2 with native yield for ETH and stablecoins.

Official quick links: Website (opens in a new tab), Docs (opens in a new tab)

Networks

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

API methods

For Blast, 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/blast_testnet_sepolia \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc":"2.0",
      "method":"eth_blockNumber",
      "params": [],
      "id":1
    }'

Response example

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

BNB Smart Chain


BNB Smart Chain API is available on Web3 API platform (opens in a new tab).

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 and WSS)
  • Chapel 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 (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 Web3 API platform's or MetaMask's UI.

Via Web3 API platform

To be added soon.

Via MetaMask

To add BNB Smart Chain 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: 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/.

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:

  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: 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/.

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"
}

Celo


Celo API is available on Web3 API platform (opens in a new tab).

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 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 (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 Web3 API platform's or MetaMask's UI.

Via Web3 API platform

To be added soon.

Via MetaMask

To add Celo 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: 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/.

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"
}

Chiliz


Chiliz API is available on Web3 API platform (opens in a new tab).

Chiliz is an EVM-compatible Layer-1 blockchain built to serve as the foundation for an ever-growing ecosystem of enterprise-level sports and entertainment stakeholders developing blockchain-based user/fan experiences and B2B/B2C tools within their respective industries.

Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)

Networks

  • Mainnet (HTTPS and WSS)

API methods

For Chiliz, 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/chiliz \
-H 'Content-Type: application/json' \
-d '{
      "jsonrpc": "2.0",
      "method": "eth_blockNumber",
      "params": [],
      "id": 1
    }'

Response example

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

Core