From e709f646de715ff22840c161bd7c9d372cdf8eae Mon Sep 17 00:00:00 2001 From: Tenancio Date: Thu, 8 Feb 2024 06:19:17 +0000 Subject: [PATCH] update docs --- index.html | 6 +- openapi.yaml | 168 ++++++++++++++++++++++++++++----------------------- 2 files changed, 95 insertions(+), 79 deletions(-) diff --git a/index.html b/index.html index f403bb7..06fec98 100644 --- a/index.html +++ b/index.html @@ -397,13 +397,13 @@ " class="sc-iKOmoZ sc-cCzLxZ WVNwY VEBGS sc-ckdEwu LxEPk">

The liquidity positions of a user

Response samples

Content type
application/json
[
  • {
    }
]

Get the token positions of a user

path Parameters
pkh
required
string

Response samples

Content type
application/json
{
  • "liquidity": [
    ],
  • "value": 0
}

Get the token positions of a user

path Parameters
pkh
required
string

The user public key hash

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get a user's transactions

path Parameters
pkh
required
string

Response samples

Content type
application/json
{
  • "tokens": [
    ],
  • "value": 0
}

Get a user's transactions

path Parameters
pkh
required
string

The pkh of the user

query Parameters
page
integer

Page to return for pagination

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

Unexpected error

Request samples

Content type
application/json
{
  • "type": "string",
  • "tx": "string",
  • "witness": "string",
  • "pkh": "string"
}

Response samples

Content type
application/json
{
  • "txHash": "string"
}