Skip to content

Commit

Permalink
Merge branch 'main' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazeim authored Dec 6, 2023
2 parents 2f6737b + 48c0aea commit 18289b6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 35 deletions.
4 changes: 4 additions & 0 deletions api/data/redirects.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
export const redirects = [
{ source: "/undefined", destination: "/", permanent: true },
{
source: "/web3-data-api/evm/token-api/supported-dexs-defi-api",
destination: "/web3-data-api/evm/supported-dexs-token-api",
}
{
source: "/docs/sign-in-with-web3authio",
destination: "/authentication-api/how-to-sign-in-with-web3authio",
Expand Down

This file was deleted.

19 changes: 17 additions & 2 deletions docs/01-web3-data-api/evm/token-api/supported-dexs.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Simply click on a chain's name to jump to its respective section for more detail
* [Fantom Opera](#fantom-opera)
* [Cronos](#cronos)
* [Arbitrum](#arbitrum)
* [Base](#base)

:::note
If you do not specify a particular `exchange`, our API takes a comprehensive approach. It checks various exchanges one by one, ensuring that it finds the price you need. It does this while being smart about avoiding exchanges or pairs with low liquidity, guaranteeing you get reliable and accurate results for your queries.
Expand Down Expand Up @@ -79,11 +80,25 @@ If you do not specify a particular `exchange`, our API takes a comprehensive app
| [Uniswap v3](https://app.uniswap.org/) |
| [Camelot V2](https://www.camelotsix.com/) |


### Base

| Supported DEX(s) |
| -------------------- |
| [Uniswap v3](https://app.uniswap.org/) |
| [Sharkswap](https://www.sharkswap.finance/swap) |
| [Aerodrome](https://aerodrome.finance) |
| [Baseswap](https://baseswap.fi) |
| [PancakeSwap](https://pancakeswap.finance/) |
| [Sushiswap](https://sushi.com/) |


## Endpoints DEXs integration

The table shows the list of endpoints that are integrated with the supported DEXs:

| No. | Method | Description | API Reference | URL |
|-----|------------------------------------------|----------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|
| 4 | `getTokenPrice` | Get ERC20 token price | [Method Documentation](/web3-data-api/evm/reference/get-token-price) | [https://deep-index.moralis.io/api/v2.2/erc20/:address/price](https://deep-index.moralis.io/api/v2.2/erc20/:address/price) |
| 5 | `getMultipleTokenPrices` | Get multiple token prices | [Method Documentation](/web3-data-api/evm/reference/get-multiple-token-prices) | [https://deep-index.moralis.io/api/v2.2/erc20/prices](https://deep-index.moralis.io/api/v2.2/erc20/prices)
| 1 | `getTokenPrice` | Get ERC20 token price | [Method Documentation](/web3-data-api/evm/reference/get-token-price) | [https://deep-index.moralis.io/api/v2.2/erc20/:address/price](https://deep-index.moralis.io/api/v2.2/erc20/:address/price) |
| 2 | `getMultipleTokenPrices` | Get multiple token prices | [Method Documentation](/web3-data-api/evm/reference/get-multiple-token-prices) | [https://deep-index.moralis.io/api/v2.2/erc20/prices](https://deep-index.moralis.io/api/v2.2/erc20/prices)
| 3 | `getPairAddress` | Get DEX token pair address | [Method Documentation](/web3-data-api/evm/reference/get-pair-address) | [https://deep-index.moralis.io/api/v2.2/:token0_address/:token1_address/pairAddress](https://deep-index.moralis.io/api/v2.2/:token0_address/:token1_address/pairAddress)

0 comments on commit 18289b6

Please sign in to comment.