API

https://api.wraithswap.finance/api/summary

The WraithSwap API is a set of endpoints used by market aggregators (e.g. coinmarketcap.com etc.) and developers to easily surface WraithSwap liquidity and volume information. All information is fetched from the underlying subgraphs we provide for WraithSwap

Example GET Requests Query for SYF and WRA Price Data:

All WraithSwap pairs consist of two different tokens. FTM is not a native currency in WraithSwap, and is represented only by WFTM in the pairs.

The canonical WFTM address used by the WraithSwap interface is 0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83.

Results are cached for 5 minutes (or 300 seconds).

Returns data for the top ~1000 WraithSwap pairs, sorted by reserves.

Request

GET https://api.wraithswap.finance/api/summary

Response

Returns the tokens in the top ~1000 pairs on WraithSwap, sorted by reserves.

Request

GET https://api.wraithswap.finance/api/tokens

Response

Returns the token information, based on address.

Request

GET https://api.wraithswap.finance/api/tokens/0x4cf098d3775bd78a4508a13e126798da5911b6cd

Response

Returns data for the top ~1000 WraithSwap pairs, sorted by reserves.

Request

GET https://api.wraithswap.finance/api/pairs

Response

Last updated

Was this helpful?