Skip to content

Commit

Permalink
Merge pull request #1605 from Ankr-network/feat/DOCS-733-aapi-stellar…
Browse files Browse the repository at this point in the history
…-methods

feat: DOCS-733 Stellar for AAPI, number of chains, and Node API info
galleon8 authored Mar 28, 2024
2 parents 599ce10 + 28859f0 commit 9a0d0d4
Showing 63 changed files with 171 additions and 172 deletions.
2 changes: 1 addition & 1 deletion pages/_meta.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"type": "separator",
"title": "Building With Ankr"
},
"rpc-service": "RPC/REST API",
"rpc-service": "Node API",
"advanced-api": "Advanced API",
"node-snapshot": "Blockchain Node Snapshots",
"node-runners": {
2 changes: 1 addition & 1 deletion pages/advanced-api/overview.mdx
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ Currently, Advanced API works with the following EVM-compatible chains:

**Mainnet**:

* `Avalanche`, `Arbitrum`, `Base`, `BNB Smart Chain`, `Ethereum`, `Fantom`, `Flare`, `Gnosis`, `Linea`, `Optimism`, `Polygon`, `Polygon zkEVM`, `Rollux`, `Scroll`, `Syscoin`.
* `Avalanche`, `Arbitrum`, `Base`, `BNB Smart Chain`, `Ethereum`, `Fantom`, `Flare`, `Gnosis`, `Linea`, `Optimism`, `Polygon`, `Polygon zkEVM`, `Rollux`, `Scroll`, `Stellar`, `Syscoin`.

**Testnet**:

8 changes: 4 additions & 4 deletions pages/advanced-api/query-methods.mdx
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import { Callout } from "components";
_Query API_ is an Advanced API's collection of methods that comes as a unique feature along with other extensive capabilities provided to our [Premium Plan](/rpc-service/service-plans/#service-plans-comparison) users.
</Callout>

_Query API_ is an access-ready solution that enables your projects to interact with multiple blockchains in a single request. By indexing blockchain data from all eight currently supported chains, searching through large amounts of data is easier and faster than ever before. Query API can boast almost instantaneous processing speeds (due to the key-value filtering supported) for the searches that might ordinarily take hours to process.
_Query API_ is an access-ready solution that enables your projects to interact with multiple blockchains in a single request. By indexing blockchain data on all supported chains, searching through large amounts of data is easier and faster than ever before. Query API can boast almost instantaneous processing speeds (due to the key-value filtering supported) for the searches that might ordinarily take hours to process.

Query API serves to request info on the ranges of blocks (max range is 100) for a full list of block metadata.

@@ -142,7 +142,7 @@ Build your request using the parameters below.
* `method` (string; required): a method used for the request.
* `params` (object): the data object containing request body parameters:

* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `polygon_zkevm`, `rollux`, `scroll`, `syscoin`, `avalanche_fuji`, `eth_goerli`, `optimism_testnet`, `polygon_mumbai`).
* `blockchain` (string; required): either of the supported chains (`arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `polygon_zkevm`, `rollux`, `scroll`, `stellar`, `syscoin`, `avalanche_fuji`, `eth_goerli`, `optimism_testnet`, `polygon_mumbai`).
* `decodeLogs` (boolean): set to `true` to decode logs, or to `false` if you don't need this kind of info.
* `decodeTxData` (boolean): set to `true` to decode transaction data, or to `false` if not interested in it.
* `descOrder` (boolean): choose data order, either descending (if `true`) or ascending (if `false`).
@@ -957,8 +957,8 @@ Build your request using the parameters below.

* `address` (string; required): an address to search for transactions.
* `blockchain` (string): a chain or a combination of chains to query:
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `polygon_zkevm`, `rollux`, `scroll`, `syscoin`, `avalanche_fuji`, `eth_goerli`, `optimism_testnet`, `polygon_mumbai`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, polygon_zkevm, rollux, scroll, syscoin, avalanche_fuji, eth_goerli, optimism_testnet, polygon_mumbai]`.
* Single chain: `arbitrum`, `avalanche`, `base`, `bsc`, `eth`, `fantom`, `flare`, `gnosis`, `linea`, `optimism`, `polygon`, `polygon_zkevm`, `rollux`, `scroll`, `stellar`, `syscoin`, `avalanche_fuji`, `eth_goerli`, `optimism_testnet`, `polygon_mumbai`.
* Chains combination: `[arbitrum, avalanche, base, bsc, eth, fantom, flare, gnosis, linea, optimism, polygon, polygon_zkevm, rollux, scroll, stellar, syscoin, avalanche_fuji, eth_goerli, optimism_testnet, polygon_mumbai]`.
* All chains: leave the value empty to query all the chains available.
* `fromBlock` (integer): narrow your search indicating the block number to start from (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".
* `toBlock` (integer): narrow your search indicating the block number to end with (inclusive; `>= 0`). Supported value formats: hex, decimal, "earliest", "latest".
9 changes: 4 additions & 5 deletions pages/index.mdx
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@ It has a set of different products for building, earning, gaming, and more — a
This documentation explains how to use Ankr's products and services as a developer as well as a regular Web3 user.
From [public RPC endpoints](https://www.ankr.com/rpc/) that developers have come to know and love, alongside new [Premium and Enterprise plans](https://www.ankr.com/rpc/pricing/) packed with [advanced developer tools](https://www.ankr.com/advanced-api/) — all powered by a globally distributed and decentralized network of nodes.

## RPC/REST API
## Node API
<br/>

<img src="/docs/build/rpc.png" class="responsive-pic" width="600" />

* Access RPC/REST Endpoints via HTTPS or WebSockets.
* Interact with 45+ [supported blockchains](/rpc-service/chains/chains-list/).
* Interact with 50+ [supported blockchains](/rpc-service/chains/chains-list/).
* Test out and get important stats.
* Suitable for Web3 developers and enthusiasts of all skill levels.
<div className="nx-p-4 border border-gray-200 dark:border-gray-900 rounded nx-mt-6">
@@ -28,7 +28,7 @@ From [public RPC endpoints](https://www.ankr.com/rpc/) that developers have come
<img src="/docs/build/aapi.png" class="responsive-pic" width="600" />

* Access a specifically-tailored collection of JSON-RPC API endpoints.
* Interact with 15 mainnet and 4 testnet chains supported.
* Interact with 16 mainnet and 4 testnet chains supported.
* Use Ankr JavaScript/Python SDKs and React Hooks.
* Tailored to support most popular Web3 scenarios.
<div className="nx-p-4 border border-gray-200 dark:border-gray-900 rounded nx-mt-6">
@@ -88,9 +88,8 @@ From [public RPC endpoints](https://www.ankr.com/rpc/) that developers have come
* Deploy a fast and secure network.
* Choose additional components from Developer Marketplace.


<div className="nx-p-4 border border-gray-200 dark:border-gray-900 rounded nx-mt-6">
[Bring your project to Web3](scaling-services-introduction/overview)
[Bring your project to Web3](/scaling-services-overview/)
</div>

## Staking
2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/aptos.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/aptos.png" class="responsive-pic" width="800" />

> Aptos API is available on [RPC Service](https://www.ankr.com/rpc/aptos).
> Aptos API is available on [Web3 API platform](https://www.ankr.com/rpc/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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/arbitrum-nova.mdx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { Callout } from "components";

<img src="/docs/build/chains-list/arbitrum-nova.png" class="responsive-pic" width="800" />

> Arbitrum Nova API is available on [RPC Service](https://www.ankr.com/rpc/arbitrumnova).
> Arbitrum Nova API is available on [Web3 API platform](https://www.ankr.com/rpc/arbitrumnova).
*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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/arbitrum.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/arbitrum.png" class="responsive-pic" width="800" />

> Arbitrum API is available on [RPC Service](https://www.ankr.com/rpc/arbitrum).
> Arbitrum API is available on [Web3 API platform](https://www.ankr.com/rpc/arbitrum).
*Arbitrum* is designed to be as compatible and consistent with Ethereum as possible, from its high-level RPCs to its low-level bytecode and everything in between. Dapp developers with experience building on Ethereum will likely find that little-to-no new L2-specific knowledge is required to build on Arbitrum.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/avalanche.mdx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { Callout } from "components";

<img src="/docs/build/chains-list/avalanche.png" class="responsive-pic" width="800" />

> Avalanche API is available on [RPC Service](https://www.ankr.com/rpc/avalanche).
> Avalanche API is available on [Web3 API platform](https://www.ankr.com/rpc/avalanche).
*Avalanche* is an ecosystem made up of three core Blockchains optimized for specific tasks within the network. The **Exchange Chain** (X-Chain), **Platform Chain** (P-Chain), and **Contract Chain** (C-Chain). We also support Standard EVM API for Avalanche.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/base.mdx
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { Tabs, Tab } from "nextra-theme-docs";

<img src="/docs/build/chains-list/base.png" class="responsive-pic" width="800" />

> Base API is available on [RPC Service](https://www.ankr.com/rpc/base).
> Base API is available on [Web3 API platform](https://www.ankr.com/rpc/base).
*Base* is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users to web3.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/bitlayer.mdx
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { Callout } from "components";

# Bitlayer

> Bitlayer API is available on [RPC Service](https://www.ankr.com/rpc/bitlayer).
> Bitlayer API is available on [Web3 API platform](https://www.ankr.com/rpc/bitlayer).
*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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/blast.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { Tabs, Tab } from "nextra-theme-docs";

# Blast

> Blast API is available on [RPC Service](https://www.ankr.com/rpc/blast/).
> Blast API is available on [Web3 API platform](https://www.ankr.com/rpc/blast/).
Blast is the only Ethereum L2 with native yield for ETH and stablecoins. Blast yield comes from ETH staking and RWA protocols. The yield from these decentralized protocols is passed back to Blast users automatically. The default interest rate on other L2s is 0%. On Blast, it’s 4% for ETH and 5% for stablecoins.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/bnb-smart-chain.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/bnb-smart-chain.png" class="responsive-pic" width="800" />

> BNB Smart Chain API is available on [RPC Service](https://www.ankr.com/rpc/bsc).
> BNB Smart Chain API is available on [Web3 API platform](https://www.ankr.com/rpc/bsc).
*BNB Smart Chain* is an innovative solution to bring programmability and interoperability to Beacon Chain. BNB Smart Chain relies on a system of 50 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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/bttc.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/bittorrent.png" class="responsive-pic" width="800" />

> BitTorrent Chain API is available on [RPC Service](https://www.ankr.com/rpc/bttc).
> BitTorrent Chain API is available on [Web3 API platform](https://www.ankr.com/rpc/bttc).
*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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/celo.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/celo.png" class="responsive-pic" width="800" />

> Celo API is available on [RPC Service](https://www.ankr.com/rpc/celo).
> Celo API is available on [Web3 API platform](https://www.ankr.com/rpc/celo).
*Celo* is a mobile-first blockchain designed to make decentralized financial (DeFi) tools and services accessible to anyone with a mobile phone.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/chiliz.mdx
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { Tabs, Tab } from "nextra-theme-docs";

<img src="/docs/build/chains-list/chiliz.png" class="responsive-pic" width="800" />

> Chiliz API is available on [RPC Service](https://www.ankr.com/rpc/chiliz).
> Chiliz API is available on [Web3 API platform](https://www.ankr.com/rpc/chiliz).
*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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/core.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import { Tabs, Tab } from "nextra-theme-docs";

# Core

> Core API is available on [RPC Service](https://www.ankr.com/rpc/core).
> Core API is available on [Web3 API platform](https://www.ankr.com/rpc/core).
*Core* is a layer 1 blockchain built around a unique consensus mechanism called ["Satoshi Plus"](https://docs.coredao.org/core-white-paper-v1.0.5/satoshi-plus-consensus).

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/eth-beacon.mdx
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import { Callout } from "components";
Available for [Premium](/rpc-service/service-plans/#service-plans-comparison) users only.
</Callout>

> Ethereum Beacon API is available on [RPC Service](https://www.ankr.com/rpc/eth) upon switching on the **Beacon** toggle.
> Ethereum Beacon API is available on [Web3 API platform](https://www.ankr.com/rpc/eth) upon switching on the **Beacon** toggle.
The *Beacon Chain* is a consensus layer that introduced a [proof-of-stake](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/) to Ethereum. The Beacon Chain mechanism is responsible for creating new blocks, making sure those new blocks are valid, and rewarding validators with ETH for keeping the network secure.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/ethereum.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/ethereum.png" class="responsive-pic" width="800" />

> Ethereum API is available on [RPC Service](https://www.ankr.com/rpc/ethereum).
> Ethereum API is available on [Web3 API platform](https://www.ankr.com/rpc/ethereum).
In order for your Web3 application to interact with the Ethereum blockchain — either by reading blockchain data or sending transactions to the network — it must connect to an Ethereum node.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/fantom.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/fantom.png" class="responsive-pic" width="800" />

> Fantom API is available on [RPC Service](https://www.ankr.com/rpc/fantom).
> Fantom API is available on [Web3 API platform](https://www.ankr.com/rpc/fantom).
*Fantom* is a secure platform to build DApps. It is fully permissionless and open-source. Powered by Fantom’s [aBFT consensus algorithm](https://docs.fantom.foundation/technology/lachesis-abft), it leverages its speed to produce real-world applications with no risks of congestion or long confirmation times. The Fantom Opera mainnet is compatible with the Ethereum Virtual Machine (EVM) and provides full smart contracts support through Solidity.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/filecoin.mdx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { Callout } from "components";

<img src="/docs/build/chains-list/filecoin.png" class="responsive-pic" width="800" />

> Filecoin API is available on [RPC Service](https://www.ankr.com/rpc/filecoin).
> Filecoin API is available on [Web3 API platform](https://www.ankr.com/rpc/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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/flare.mdx
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { Callout } from "components";

# Flare

> Flare API is available on [RPC Service](https://www.ankr.com/rpc/flare).
> Flare API is available on [Web3 API platform](https://www.ankr.com/rpc/flare).

*Flare* is the blockchain for data. It is a layer 1, EVM smart contract platform designed to expand the utility of blockchain.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/gnosis-beacon.mdx
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ import { Callout } from "components";
Available for [Premium](/rpc-service/service-plans/#service-plans-comparison) users only.
</Callout>

> Gnosis Beacon API is available on [RPC Service](https://www.ankr.com/rpc/gnosis) upon switching on the **Beacon** toggle.
> Gnosis Beacon API is available on [Web3 API platform](https://www.ankr.com/rpc/gnosis) upon switching on the **Beacon** toggle.

The *Beacon Chain* is a consensus layer that introduced a [proof-of-stake](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/) to Ethereum. The Beacon Chain mechanism is responsible for creating new blocks, making sure those new blocks are valid, and rewarding validators with ETH for keeping the network secure.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/gnosis.mdx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { Callout } from "components";

<img src="/docs/build/chains-list/gnosis.png" class="responsive-pic" width="800" />

> Gnosis API is available on [RPC Service](https://www.ankr.com/rpc/gnosis).
> Gnosis API is available on [Web3 API platform](https://www.ankr.com/rpc/gnosis).

*Gnosis* (formerly the xDai Chain) provides stability, scalability, and an extendable beacon chain framework.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/harmony.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/harmony.png" class="responsive-pic" width="800" />

> Harmony API is available on [RPC Service](https://www.ankr.com/rpc/harmony).
> Harmony API is available on [Web3 API platform](https://www.ankr.com/rpc/harmony).

*Harmony* is a powerful EVM-compatible blockchain with sharding and staking features.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/heco.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/heco.png" class="responsive-pic" width="800" />

> HECO API is available on [RPC Service](https://www.ankr.com/rpc/heco).
> HECO API is available on [Web3 API platform](https://www.ankr.com/rpc/heco).

*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.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/horizen-eon.mdx
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { Tabs, Tab } from "nextra-theme-docs";

<img src="/docs/build/chains-list/horizen.png" class="responsive-pic" width="800" />

> Horizen EON API is available on [RPC Service](https://www.ankr.com/rpc/horizen).
> Horizen EON API is available on [Web3 API platform](https://www.ankr.com/rpc/horizen).

*EON* is Horizen's Ethereum VM (Virtual Machine). EON has adopted Ethereum’s account-based transaction model to represent assets as balances within accounts. The account model, in VM capable blockchains, differentiate account types on whether they represent a normal account balance or an account which is bound to some code that has to be executed by the VM.

2 changes: 1 addition & 1 deletion pages/rpc-service/chains/chains-api/iotex.mdx
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

<img src="/docs/build/chains-list/iotex.png" class="responsive-pic" width="800" />

> IoTeX API is available on [RPC Service](https://www.ankr.com/rpc/iotex).
> IoTeX API is available on [Web3 API platform](https://www.ankr.com/rpc/iotex).

*IoTeX* is an EVM-compatible platform with a vision of the Internet of Trusted Things. It is a decentralized ecosystem set up to guarantee security and trust between humans and machines. IoTeX supports self-sovereign users to solely own and control their devices, as well as the data and value they generate.

Loading

0 comments on commit 9a0d0d4

Please sign in to comment.