From 547642bfe4bc94899c745b7fd98434488ebd6879 Mon Sep 17 00:00:00 2001 From: Tenancio Date: Fri, 16 Feb 2024 10:20:31 +0000 Subject: [PATCH] add price to preview liq withdraw --- index.html | 4 ++-- openapi.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 8a00174..885e2a5 100644 --- a/index.html +++ b/index.html @@ -547,7 +547,7 @@ " class="sc-iKOmoZ sc-cCzLxZ WVNwY jaVotg">

the number of tokens to deposit

Responses

Response samples

Content type
application/json
{
  • "share": 0,
  • "required_ada": 0
}

/previewLiquidityWithdraw

path Parameters
symbol
required
string

Response samples

Content type
application/json
{
  • "share": 0,
  • "required_ada": 0,
  • "price": 0
}

/previewLiquidityWithdraw

path Parameters
symbol
required
string

The symbol to retrieve transactions for

query Parameters
amount
integer

the number of LPs to cash in

@@ -557,7 +557,7 @@ " class="sc-iKOmoZ sc-cCzLxZ WVNwY VEBGS sc-ckdEwu LxEPk">

Preview of the user's share and required ada

Response samples

Content type
application/json
{
  • "pooled_ada": 0,
  • "pooled_tokens": 0,
  • "share": 0,
  • "ada_received": 0,
  • "tokens_received": 0,
  • "price": 0
}