Data Queries
Get Mining Points
This endpoint allows querying user liquidity pool shares (lp), mining points (integral), and other data.
Header parameters
AuthorizationstringOptional
token
User-IdstringOptional
Body
addressstringRequired
tickstringOptional
page_sizeintegerRequired
pageintegerRequired
sortstringOptional
descbooleanOptional
crypto_typestringRequired
Responses
200
Success
application/json
x-200:Success
Success
application/json
post
/brc20swap/manage_liquid_infoGet Liquidity Change History
This endpoint allows querying the history of user operations related to creating, adding, and removing liquidity pools. The txid can be used to query the on-chain transaction status in the mempool.
Header parameters
AuthorizationstringOptional
token
User-IdstringOptional
Body
addressstringOptional
Leave blank to query all
pageintegerRequired
page_sizeintegerRequired
tick1stringOptional
tick2stringOptional
Responses
200
Success
application/json
x-200:Success
Success
application/json
post
/brc20swap/liquid_historyLiquidity Pool Information List
This endpoint allows querying the Total Value Locked (TVL) of pools.
Header parameters
AuthorizationstringOptional
token
User-IdstringOptional
Body
tick1stringRequired
tick2stringOptional
coin_type_1stringRequired
coin_type_2stringRequired
Responses
200
Success
application/json
x-200:Success
Success
application/json
post
/brc20swap/get_liquid_addressHeader parameters
PragmastringRequiredExample:
no-cacheAuthorizationstringRequired
User-IdstringRequired
User-AgentstringRequiredExample:
Apifox/1.0.0 (https://apifox.com)Content-TypestringRequiredExample:
application/jsonAcceptstringRequiredExample:
*/*ConnectionstringRequiredExample:
keep-aliveBody
coin_type_1stringRequired
coin_type_2stringRequired
tick1stringRequired
tick2stringRequired
Responses
200
Success
application/json
Responseobject
post
/brc20swap/external/pool/apr200
Success
Last updated