API

More information coming soon!

Get Pool Data

GET app.stackswap.org/api/v1/pools

This endpoint allows you to get liquidity pool data.

Path Parameters

Name
Type
Description

identifier*

string

ID of the liquidity pool pair.

Query Parameters

Name
Type
Description

token_x_addr

string

Contract address of Token X in token pair.

token_y_addr

string

Contract address of Token Y in token pair.

liquidity_token_addr

string

Contract address of liquidity token.

liquidity_locked

string

Amount of liquidity locked in token pair, calculated in USD

apy

string

APY for farming token pair LP tokens.

Headers

Name
Type
Description

Authentication

string

Authentication token to pull API data.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

Last updated