Pull SpiritSwap data feeds using Covalent API

This page gives a walk through for developers wanting to pull data feeds from SpiritSwap directly using Covalent's API.

Covalent provides a unified API to bring full transparency and visibility to assets across all blockchains. The Covalent API can be used to build the SpiritSwap analytics dashboard.

The Covalent API is RESTful and offers the following out-of-the-box for SpiritSwap:

Try the key endpoints directly in your browser from the API Reference.

Build Analytics Dashboards

Here is a breakdown of the the specific API endpoints that can be used to build the SpiritSwap analytics dashboard:

MarkerEndpointData

1

Timeseries TVL based on decoded Deposit and Withdraw events

2

24h volume as a timeseries chart

3

Top 50 tokens by price, volume, liquidity

4

Top 50 pools by price, volume, liquidity

Code Template

Template repo: https://github.com/covalenthq/dex-dashboard-template

This code template is a showcase of the XY=K suite of Covalent API endpoints capable of powering DEX dashboards. The code is open source and forkable for anyone to customize it.

Additional Resources

Here are some additional resources to help you get started with the Covalent API:

About Covalent

Covalent provides the industry-leading Unified API bringing visibility to billions of Web3 data points. Developers use Covalent to build exciting multi-chain applications like crypto wallets, NFT galleries, and investor dashboard tools utilizing data from 32+ blockchains. Covalent is trusted by a community of 27,000+ developers and powers data for 1000+ applications including 0x, Zerion, Rainbow Wallet, Rotki, Bitski and many others.

Website | Discord | Telegram | Twitter | Youtube | 微信公众号

Last updated