Stackswap
  • 👋Welcome
    • Introduction
    • Guide to Stacks
  • 📖Stackswap Platform
    • Platform Features
    • Use Cases
    • Technical Architecture
    • User Guides
      • Swap
      • Pool
      • Token Incentives
      • Stake
      • PoXL Mining
      • Token Launchpad
    • FAQ
    • Error Codes
  • 🏭The Project
    • Tokenomics
    • Governance
    • Investors
  • Litepaper and Longform
    • Stackswap Litepaper
    • Use Cases for AI
  • 👨‍💻Developers
    • Contracts
    • Github
    • API
    • Contract Audit
    • Bug Bounty
  • 🫂Community
    • Stackswap Links
    • Brand Assets
Powered by GitBook
On this page

Was this helpful?

  1. Developers

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"}
{    "message": "Ain't no cake like that."}

PreviousGithubNextContract Audit

Last updated 3 years ago

Was this helpful?

👨‍💻