Data Queries
Get Mining Points
This endpoint allows querying user liquidity pool shares (lp), mining points (integral), and other data.
POST
/brc20swap/manage_liquid_info
The response includes a
protocol
field to indicate the type of pool (brc20, arc20).
Query Liquidity Operations 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.
POST
/brc20swap/liquid_history
The response includes an array
txs
, where thetxid
field represents the transaction hash for querying transaction status. A status other thanconfirmed
indicates the transaction is unconfirmed.
Liquidity Pool Information List
This endpoint allows querying the Total Value Locked (TVL) of pools.
POST
/brc20swap/stat/trade_info_list
Values returned with
_btc
are in BTC units; otherwise, values are in USD.The TVL field includes
pool_locked_amount_btc
andpool_locked_amount
.
Get Liquidity Pool Address by Token Pair
POST
/brc20swap/get_liquid_address
Get Pool APR
POST
/brc20swap/external/pool/apr
Last updated