Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1010 Bytes

File metadata and controls

26 lines (16 loc) · 1010 Bytes

MojitoSwap API

The MojitoSwap API is a set of endpoints used by market aggregators (e.g. coinmarketcap.com) to surface MojitoSwap liquidity and volume information. All information is fetched from the underlying subgraphs.

The API is designed around the CoinMarketCap requirements document.

Prefer the MojitoSwap subgraph for any MojitoSwap queries whenever possible. The respective subgraphs will always have more recent data.

V1 Documentation

The documentation of the /v1/ endpoints is here.

V2 Documentation

The documentation of the /v2/ endpoints is here.

Deploying the API

The API uses the serverless framework and can easily be deployed to any AWS account, via the yarn sls deploy command.

In order to configure your AWS account as a target, see the serverless docs.