get https://api.klarda.com/api/v1/market/token/onchain/swap-counts
The Get Token Onchain Swap Counts by Pair Address API allows you to easily fetch the token onchain swap counts
Definition
This endpoint retrieves the count of onchain token swaps for a specified pair address on a particular blockchain network. It provides detailed metrics on the swap activity, helping users analyze the token pairs' trading behavior.
Query Parameters
For guidance on how to leverage this method, check out the following tutorials:
- address (string): The specific pair address (contract address) for which the swap counts are to be retrieved.
- chain_id (string): The unique identifier of the blockchain network (e.g., Ethereum, Binance Smart Chain) where the pair address is deployed.
Response
The response will include a JSON object containing the swap counts for the specified pair address on the specified blockchain network. This data will provide insights into the number of swaps that have occurred, along with additional metadata related to the swap activities.