-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #525 from MoralisWeb3/add-token-pairs-and-liquidit…
…y-apis Add token pairs and liquidity apis
- Loading branch information
Showing
13 changed files
with
849 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
title: "New Token Pairs & Liquidity APIs" | ||
slug: "token-pairs-liquidity-apis" | ||
authors: | ||
name: Reuben Salisbury | ||
tags: [Web3 Data API] | ||
--- | ||
|
||
## Changelog: New Token Pairs & Liquidity APIs | ||
|
||
### Release Date: October 11, 2024 | ||
|
||
We’re excited to announce the addition of new **Token Pairs** and **Liquidity APIs** across both Solana and EVM networks! These updates provide you with deeper insights into token pairings and liquidity data, enabling you to build more comprehensive DeFi and trading applications. | ||
|
||
### What’s New? | ||
|
||
#### Solana APIs | ||
|
||
| Name | Description | API Reference | | ||
| ----------------------------------- | ------------------------------------------------------- | --------------------------------------------------------------------------------------- | | ||
| **Get Token Pairs by Address** | Retrieve the supported token pairs for a given address. | [Method Documentation](/web3-data-api/solana/reference/get-token-pairs-by-address) | | ||
| **Get Aggregated Token Pair Stats** | Retrieve aggregated stats for a token across all pairs. | [Method Documentation](/web3-data-api/solana/reference/get-aggregated-token-pair-stats) | | ||
|
||
#### EVM APIs | ||
|
||
| Name | Description | API Reference | | ||
| ----------------------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------ | | ||
| **Get Token Pairs by Address** | Retrieve the supported token pairs for a given address. | [Method Documentation](/web3-data-api/evm/reference/get-token-pairs) | | ||
| **Get Aggregated Token Pair Stats** | Retrieve aggregated stats for a token across all pairs. | [Method Documentation](/web3-data-api/evm/reference/get-aggregated-token-pair-stats) | | ||
|
||
### What Can You Do? | ||
|
||
With these new APIs, you can: | ||
|
||
- **Track Token Pairings**: Discover token pairings across various exchanges on Solana and EVM chains. | ||
- **Monitor Liquidity**: Retrieve real-time liquidity data for specific token pairs. | ||
- **Access Aggregated Data**: Gain insights into the total number of active pairs and DEXes for a token across supported networks. | ||
|
||
### Example Use Cases: | ||
|
||
- **DeFi Dashboards**: Display detailed token pair statistics for users to track liquidity pools and potential trading pairs. | ||
- **Analytics Tools**: Analyze liquidity trends and token pair activity across multiple DEXes. | ||
- **Portfolio Management**: Help users manage their assets by showing token pair data and liquidity stats for the tokens in their portfolios. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
...eference/token-api/06-Get Pairs & Liquidity/get-aggregated-token-pair-stats.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_position: 1 | ||
sidebar_label: Get Aggregated Token Pair Stats | ||
slug: /web3-data-api/evm/reference/get-aggregated-token-pair-stats | ||
--- | ||
|
||
import ApiReference from "@site/src/components/ApiReference"; | ||
import config from "@site/docs/configs/api-reference/configs.json"; | ||
|
||
# Get Aggregated Token Pair Stats | ||
|
||
import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; | ||
|
||
<ApiReference {...config.token.getAggregatedTokenPairStats} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...3-data-api/evm/reference/token-api/06-Get Pairs & Liquidity/get-token-pairs.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
sidebar_position: 0 | ||
sidebar_label: Get Token Pairs by Address | ||
slug: /web3-data-api/evm/reference/get-token-pairs | ||
--- | ||
|
||
import ApiReference from "@site/src/components/ApiReference"; | ||
import config from "@site/docs/configs/api-reference/configs.json"; | ||
|
||
# Get Token Pairs by Address | ||
|
||
import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; | ||
|
||
<ApiReference {...config.token.getTokenPairs} /> |
Oops, something went wrong.