Pact Swap

Get all prices


Retrieves all prices for all tokens.

GET
/pactswap_cm/getAllPrices
x-api-key<token>

Optional API key. When provided, increases the allowed number of requests per second.

In: header

Response Body

curl -X GET "https://api.pactswap.io/pactswap_cm/getAllPrices"
{
  "total": 100,
  "prices": [
    {
      "token": "BTC",
      "price": 10000
    }
  ]
}

Was this documentation helpful? Any suggestions?