You can use this endpoint to query the user's history of creating, adding, and removing liquidity from pools. The txid provided can be used to check the on-chain transaction status in the mempool.
Liquidity operation history
post
Body
pageintegerRequired
page_sizeintegerRequired
addressstringRequired
tick1stringRequired
tick2stringRequired
coin_type_1stringRequired
coin_type_2stringRequired
Responses
200
Success
application/json
post
/api/pool/liquid/history
200
Success
The list returns an array txs. The txid field within this array is the transaction hash, which can be used to query the transaction status. Any status other than confirmed means the transaction is unconfirmed.
When adding liquidity fails, the refundable field will be true, indicating that a refund is possible; otherwise, it will be false. {% endhint %}
Use this endpoint to query the history of swaps executed on Dotswap.