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.
Chains supported
Find the chain you require and go to its docs section by clicking it.
Allora
Allora API is available on Web3 API platform (opens in a new tab).
The Allora Network is an advanced protocol that leverages decentralized AI and machine learning (ML) to generate and share predictions among its participants. It provides a structured way for users to access on-chain AI predictions and pay the AI/ML node operators who produce these insights.
Allora acts as a bridge between various parties — data owners, processors, AI/ML predictors, market analysts, and end-users — allowing them to utilize and act on these predictions. AI/ML agents on the network use their data and algorithms to broadcast predictions across a peer-to-peer network. They also evaluate predictions from other agents.
The network’s consensus mechanism then combines these predictions and assessments, rewarding agents based on the quality of their contributions. This incentive system helps Allora continuously learn and adapt to changing market conditions.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Testnet:
- Tendermint RPC API (
HTTPS
andWSS
) - Tendermint REST API (
HTTPS
) - Cosmos REST API (
HTTPS
)
- Tendermint RPC API (
API methods
For Allora, 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 Premium service plan.
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.
Tendermint (both for REST and JSON-RPC):
/health
,
/genesis
,
/broadcast_evidence
,
/dial_seeds
,
/dial_peers
,
Cosmos:
/cosmos/auth/v1beta1/address_by_id/{id}
,
/cosmos/auth/v1beta1/module_accounts
,
/cosmos/auth/v1beta1/bech32
,
/cosmos/auth/v1beta1/bech32/{address_bytes}
,
/cosmos/auth/v1beta1/bech32/{address_string}
,
/cosmos/bank/v1beta1/supply/{denom}
,
/cosmos/bank/v1beta1/denom_owners/{denom}
,
/cosmos/bank/v1beta1/send_enabled
,
/cosmos/base/reflection/v1beta1/interfaces
,
/cosmos/base/reflection/v1beta1/interfaces/:interface_name/implementations
,
/cosmos/base/reflection/v1beta1/app_descriptor/authn
,
/cosmos/base/reflection/v1beta1/app_descriptor/chain
,
/cosmos/base/reflection/v1beta1/app_descriptor/codec
,
/cosmos/base/reflection/v1beta1/app_descriptor/configuration
,
/cosmos/base/reflection/v1beta1/app_descriptor/query_services
,
/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor
,
/cosmos/base/tendermint/v1beta1/abci_query
,
/cosmos/feegrant/v1beta1/issued/{granter}
,
/cosmos/gov/v1/proposals/{proposal_id}
,
/cosmos/gov/v1/proposals
,
/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}
,
/cosmos/gov/v1/proposals/{proposal_id}/votes
,
/cosmos/gov/v1/params/{params_type}
,
/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}
,
/cosmos/gov/v1/proposals/{proposal_id}/deposits
,
/cosmos/gov/v1/proposals/{proposal_id}/tally
,
/cosmos/group/v1/group_info/{group_id}
,
/cosmos/group/v1/group_policy_info/{address}
,
/cosmos/group/v1/group_members/{group_id}
,
/cosmos/group/v1/groups_by_admin/{admin}
,
/cosmos/group/v1/group_policies_by_group/{group_id}
,
/cosmos/group/v1/group_policies_by_admin/{admin}
,
/cosmos/group/v1/proposal/{proposal_id}
,
/cosmos/group/v1/proposals_by_group_policy/{address}
,
/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}
,
/cosmos/group/v1/votes_by_proposal/{proposal_id}
,
/cosmos/group/v1/votes_by_voter/{voter}
,
/cosmos/group/v1/groups_by_member/{address}
,
/cosmos/group/v1/proposals/{proposal_id}/tally
,
/cosmos/nft/v1beta1/balance/{owner}/{class_id}
,
/cosmos/nft/v1beta1/owner/{class_id}/{id}
,
/cosmos/nft/v1beta1/supply/{class_id}
,
/cosmos/nft/v1beta1/nfts
,
/cosmos/nft/v1beta1/nfts/{class_id}/{id}
,
/cosmos/nft/v1beta1/classes/{class_id}
,
/cosmos/nft/v1beta1/classes
,
/cosmos/params/v1beta1/subspaces
,
/cosmos/upgrade/v1beta1/module_versions
,
/cosmos/upgrade/v1beta1/authority
,
/cosmos/base/tendermint/v1beta1/node_info
,
/cosmos/base/tendermint/v1beta1/syncing
,
/cosmos/params/v1beta1/params
,
/syncing
,
/blocks/latest
,
/blocks/{height}
,
/validatorsets/latest
,
/validatorsets/{height}
,
/wasm/code
,
/wasm/code/{codeID}
,
/wasm/code/{codeID}/contracts
,
/wasm/contract/{contractAddress}
,
/wasm/contract/{contractAddress}/code-hash
,
/wasm/contract/{contractAddress}/query/{query}
,
/wasm/code/{codeID}/hash
,
/reg/consensus-io-exch-pubkey
API querying
Request example
curl -X POST https://rpc.ankr.com/allora_testnet \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"method": "block",
"params": ["761001"],
"id": 1
}'
Response example
{
"jsonrpc": "2.0",
"id": -1,
"result": {
"block_id": {
"hash": "663789D1BAA0354453A5BB1474C46C9F74E6140B247153482BBE84893C029600",
"parts": {
"total": 1,
"hash": "BFCC2C78C439E367ABEEA996FD9A120EAA70DC44572B8BFDCA032908BA4B439B"
}
},
"block": {
"header": {
"version": {
"block": "11"
},
"chain_id": "allora-testnet-1",
"height": "761001",
"time": "2024-08-21T21:33:36.088780054Z",
"last_block_id": {
"hash": "AD51186842A63CB515A4946C558DF1DA71D384DF646EC5522ECD5008E3FAEDA0",
"parts": {
"total": 1,
"hash": "16A9CCD523F2E593E66F46CBD20FCC03B5849ACE5325951E50BC53B6D7D2F893"
}
},
"last_commit_hash": "77BE45E09B5A5F40FA1F10BF430C2E14371445B9E2DF89952478E84A98DFA081",
"data_hash": "78F2AF9D01AC871045FB53CB383AA50EF4C0094E9563428BFF8BA59071801050",
"validators_hash": "CB957FF7AB192A9F9321F0E471C7BAE5A9AA82573FF8D509F8ACF7CA3A450A42",
"next_validators_hash": "CB957FF7AB192A9F9321F0E471C7BAE5A9AA82573FF8D509F8ACF7CA3A450A42",
"consensus_hash": "048091BC7DDC283F77BFBF91D73C44DA58C3DF8A9CBC867405D8B7F3DAADA22F",
"app_hash": "72AEC5979CEA9EE65275B77DA8F31676C7E52DA57B991D86C4870237E3D40127",
"last_results_hash": "455FD6D9D1888EBE5B8602E20E84EEACA30020B717A5B5298890E7236CAB84AD",
"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
"proposer_address": "01458B61F0D7DE6E90798FE8C370413D718EB34C"
},
"data": {
"txs": [
"CuECCt4CCiQvZW1pc3Npb25zLnYyLk1zZ0luc2VydFdvcmtlclBheWxvYWQStQIKK2FsbG8xYWhhcGE2ZHpkOG0yNjc0MHp5N2gyd3pnamx1ZnM4NjRmeDR1eHcShQIKK2FsbG8xYWhhcGE2ZHpkOG0yNjc0MHp5N2gyd3pnamx1ZnM4NjRmeDR1eHcSBAiRuS4YBSJICkYIBRCRuS4aK2FsbG8xYWhhcGE2ZHpkOG0yNjc0MHp5N2gyd3pnamx1ZnM4NjRmeDR1eHciETE0NS42NTg1MDk2NjIzMjkzKkBkgCxd7XHQh+Debe/yvS+c8BBoKguydI/J/YNqRaYpBDpnwQo+4/LPouiYF04JXDBa4qxTfJFlpdSJ9EgoX+TAMkIwMmQ4MjYzOTFiYWI4ZjYzNWYzNDhkYmQxNDQ1ZGUxZmQ0YjgzZjNiNGJiZjFkY2EzY2Q4YWFjM2FlMWMyYmY5ODcSWApQCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAtgmORurj2NfNI29FEXeH9S4PztLvx3KPNiqw64cK/mHEgQKAggBGCkSBBDAhD0aQN1AnyLR2Kz/KMZ5yr+Sz4wo+4Tp8OnyDqSlr98oCNQVPtF69bWneamHvTEq7r5WUGuwQfWSD+sybXlUgnDlmIw=",
"CuECCt4CCiQvZW1pc3Npb25zLnYyLk1zZ0luc2VydFdvcmtlclBheWxvYWQStQIKK2FsbG8xcmZweng2MGR6MDc5dWhuZXRxdHNkdTJ1ZTM0dmdyMnJ3ZGFrd2cShQIKK2FsbG8xcmZweng2MGR6MDc5dWhuZXRxdHNkdTJ1ZTM0dmdyMnJ3ZGFrd2cSBAiTuS4YAyJICkYIAxCTuS4aK2FsbG8xcmZweng2MGR6MDc5dWhuZXRxdHNkdTJ1ZTM0dmdyMnJ3ZGFrd2ciETYxMzI3LjIzMTM5NzQ3MTg1KkA2b71NaRNK8PFRv+nLbaTfB53wu/AqI4cGoFYED/4U/3c8JOYW+Q2moUdlX35tKF0U2gneVA2jQy0vmem8uIz6MkIwMzA5Zjg2ZWY3YzNlM2IyZjUzMzg3OGZiNjY2Mjk1NjljNjFkYTNhMzg2OTkyNjNmMWM4MDhlMTcxMTQzOWYxMmMSWQpRCkYKHy9jb3Ntb3MuY3J5cHRvLnNlY3AyNTZrMS5QdWJLZXkSIwohAwn4bvfD47L1M4ePtmYpVpxh2jo4aZJj8cgI4XEUOfEsEgQKAggBGLJKEgQQwIQ9GkAYepebNx4qruj3/XCxlmVQ3XDbhfsXZlZyM+yeqUs7d263LfRxugRgQH3aiV/ROiC/gVH0bID6GA00y5QMWM+B"
]
},
"evidence": {
"evidence": []
},
"last_commit": {
"height": "761000",
"round": 0,
"block_id": {
"hash": "AD51186842A63CB515A4946C558DF1DA71D384DF646EC5522ECD5008E3FAEDA0",
"parts": {
"total": 1,
"hash": "16A9CCD523F2E593E66F46CBD20FCC03B5849ACE5325951E50BC53B6D7D2F893"
}
},
"signatures": [
{
"block_id_flag": 1,
"validator_address": "",
"timestamp": "0001-01-01T00:00:00Z",
"signature": null
},
{
"block_id_flag": 2,
"validator_address": "2D5A6E69CDFBE8FF7C0C2DAFF752387AC73B9AB1",
"timestamp": "2024-08-21T21:33:36.07519025Z",
"signature": "LvyV25u8kxAivi7rHuAZlXtawVBMYyOJflcr4al44TWVLmYnztqycSgGyi1S9GkUGoeA4nG+wRM/4pqk4YIKDQ=="
}
]
}
}
}
}
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 Premium service plan.
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:
- 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 Premium service plan.
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_*
(exception: debug_traceBlockByHash
, debug_traceBlockByNumber
debug_traceTransaction
, debug_traceCall
, debug_traceBlock
),
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
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 Premium service plan.
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_*
(exception: debug_traceBlockByHash
, debug_traceBlockByNumber
debug_traceTransaction
, debug_traceCall
, debug_traceBlock
),
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"
}
Atleta
Atleta API is available on Web3 API platform (opens in a new tab).
Atleta is a modular, multi-layer, EVM-compatible, smart contract platform with native cross-chain interoperability, dedicated to servicing the sports industry.
Key Features of Atleta Network:
- Modular Multi-Layer Architecture: Atleta's design separates core blockchain functions into distinct layers — Execution, Interoperability, and Storage. This modularity allows for scalability and adaptability, enabling seamless upgrades without disrupting ongoing operations.
- Execution Layer: An Ethereum Virtual Machine (EVM)-compatible smart contract layer that facilitates transactions and supports the development of decentralized applications.
- Interoperability Layer: Enables cross-chain communication, allowing for the transfer of assets and messages between different blockchain networks, thereby fostering a connected and collaborative ecosystem.
- Storage Layer: Provides a decentralized data storage solution for various types of information, including videos, text files, and images, ensuring secure and efficient data management.
- Nominated Proof-of-Stake (NPoS) Consensus Mechanism: Atleta employs NPoS to enhance decentralization and security. This consensus model allows a wide range of participants to contribute to network validation and governance, promoting inclusivity and resilience.
- High Performance and Scalability: The network is designed to handle substantial transaction volumes, achieving approximately 60–80 transactions per second with a block time of around 6 seconds. This performance is facilitated by its Substrate-based architecture, which enables modular scalability.
- Instant Finality: Utilizing the GRANDPA (GHOST-based Recursive Ancestor Deriving Prefix Agreement) finality gadget, Atleta ensures immediate transaction finality per block, enhancing security and efficiency.
- EVM Compatibility: Atleta supports EVM-compatible smart contracts, allowing developers to deploy existing Ethereum-based applications and leverage liquidity across other EVM networks seamlessly.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Testnet:
- Olympia (
HTTPS
andWSS
)
- Olympia (
API methods
For Atleta, 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 Premium service plan.
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_*
(exception: debug_traceBlockByHash
, debug_traceBlockByNumber
debug_traceTransaction
, debug_traceCall
, debug_traceBlock
),
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/atleta_olympia \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'
Response example
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x7b0d3"
}
Avail
Avail API is available on Web3 API platform (opens in a new tab).
Avail is a Web3 infrastructure layer that allows modular execution layers to scale and interoperate in a trust minimized way.
A foundational Data Availability (DA) layer, Nexus interoperability layer, and Fusion Security network layer come together to form the Unification Layer.
- The DA layer is a highly optimized, low-level layer, specifically constructed for data availability. This is the deepest blockchain layer, with the minimal functionality required to build cross-ecosystem interoperability on top.
- Nexus acts as a light but powerful proof aggregation and sequencer selection ZK rollup on top of Avail, allowing for cross-rollup and cross-ecosystem settlement.
- Fusion Security enables a basket of tokens to pool their crypto-economic security to serve and secure the Avail network.
Avail's mission is to streamline the rollup experience, offering a unified, efficient platform for both users and developers from any ecosystem. This vertically integrated stack aims to dissolve the growing pains and user fragmentation experienced today, enabling Rollups to seamlessly access users and liquidity across the entire blockchain landscape.
The Turing Testnet is live and marks Avail's final and definitive pre-Mainnet testing environment, aimed at vetting Mainnet deployments, executing extensive stress tests, and assessing network topologies for scalability and resilience.
Official quick links: Website (opens in a new tab), Docs (opens in a new tab), GitHub (opens in a new tab)
Networks
- Turing Testnet (
HTTPS
andWSS
)
API methods
For Avail, 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 Premium service plan.
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_*
API querying
Request example
curl -X POST https://rpc.ankr.com/avail_turing_testnet \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "chain_getBlock",
"params": []
}'
Response example
{
"jsonrpc": "2.0",
"result": {
"block": {
"header": {
"parentHash": "0x32d67a9e5843dd8527bf0e2ec1f4c6d2f8642ef264348ef7d610575619a5b6e8",
"number": "0x49993",
"stateRoot": "0x7d0860d48e20e42886aeac479dd339d1f75387d3be844a490ca1734efd430213",
"extrinsicsRoot": "0x07d2cb3154a4bc3ff485d0101bb1cba8045bf1bd74a34a977cc2672a41e76596",
"digest": {
"logs": [
"0x0642414245b5010359000000757a1e0500000000841bf8fb61a548ec94caba8ddedcf85e02de0110990ffe3c4216277ee0b9734a9b966b69d9025691e82043d9a647ce917871b1b2d2082afc3ce3b195c96e1c039b2e312d9028cf976284d61c41f1069b1df154b5e6b6bef9ad4455dd24ea160d",
"0x05424142450101c2be2a753a256b1261e00d5d31a20befa735767d5debe27edfff52149e4ce53398135479d97a0e594a2160cf78b3743ca42899138b0c5b58334bc7c4d0217080"
]
},
"extension": {
"V3": {
"appLookup": {
"size": 114,
"index": [
{
"appId": 36,
"start": 0
}
]
},
"commitment": {
"rows": 1,
"cols": 128,
"commitment": [
128,
27,
216,
161
],
"dataRoot": "0x67e432157400275ba4e6e7c9d61312afa5cbbea68d8b718fa8be3038980a9970"
}
}
}
},
"extrinsics": [
"0x280403000ba0f41eed8f01",
"0xc90384007ce8ccf46bbdf7561f0d1419857dab91bfbda9866d564c2c5cfe43210a75db310122850737c933478016ee92ddcbd1eda470ead30b6a7938adba396b9e51922949b1bba1bf56ca8bd67f2241b1240fa1f2bd18f07b42111fe70f9f386b78f66f87040162760100000001020c0603004e558a63713b227cb661a5cb639c5bea499bd00039d7dabe16cb891e8fc2025213000064a7b3b6e00d06030006aa84733a1b39c3cc83586e589fd6bb82228321e1f75d4e2bc3af8d4957785213000064a7b3b6e00d0603003a1e5289c81ff9dfd53cf55e64aaaee9aeb31e5ae43c9679de15a841b406521d13000064a7b3b6e00d"
]
},
"justifications": null
},
"id": 1
}
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
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 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:
-
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 the following methods:
Unsupported
This section contains a list of methods we don't support for Premium service plan.
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_*
(exception: debug_traceBlockByHash
, debug_traceBlockByNumber
debug_traceTransaction
, debug_traceCall
, debug_traceBlock
),
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
}
B2 Network
B² Network API is available on Web3 API platform (opens in a new tab).
The B² Network is an advanced Layer-2 solution designed to enhance transaction speed, reduce costs, and broaden application diversity without compromising security. It is notable for being the first zero-knowledge proof verification commitment rollup on Bitcoin.
Key Features:
-
Zero-Knowledge Proof Verification: Utilizes zero-knowledge proof technology to ensure transactional privacy and security, allowing for the verification of transactions without revealing the underlying data.
-
Rollup Technology: Processes multiple off-chain transactions and rolls them into a single on-chain transaction, significantly increasing efficiency and reducing costs.
-
Turing-Complete Smart Contracts: Supports Turing-complete smart contracts, enabling complex computations and a wide range of decentralized applications (dApps) to run off-chain with enhanced performance.
-
Gate Commitment and Challenge-Response Mechanism: Integrates gate commitment and challenge-response mechanisms, leveraging Taproot on Bitcoin to ensure secure and private transaction confirmations.
-
EVM-Compatibility: The B² Network is compatible with the Ethereum Virtual Machine (EVM), allowing it to run Ethereum-based smart contracts and dApps. This compatibility enables developers to use existing Ethereum tools, libraries, and standards while benefiting from the B² Network's enhanced features.
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 B² Network, 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 Premium service plan.
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_*
(exception: debug_traceBlockByHash
, debug_traceBlockByNumber
debug_traceTransaction
, debug_traceCall
, debug_traceBlock
),
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/b2 \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params": [],
"id":1
}'
Response example
{
"jsonrpc":"2.0",
"id":1,
"result":"0x21194c"
}
Bahamut
Bahamut API is available on Web3 API platform (opens in a new tab).
Bahamut is an EVM-based, Layer 1 public blockchain designed to improve block reward distribution by incorporating validator activity