列表查询

历史记录查询

可通过这个接口查询用户增加创建,增加,移除流动池的历史记录。其中 txid 可用于 mempool 中查询链上交易状态。

流动性操作历史

post
Body
pageintegerRequired
page_sizeintegerRequired
addressstringRequired
tick1stringRequired
tick2stringRequired
coin_type_1stringRequired
coin_type_2stringRequired
Responses
chevron-right
200

成功

application/json
post
/api/pool/liquid/history
200

成功

circle-info

1、列表中会返回数组 txs,其中包括的 txid 字段为交易哈希,可用于查询交易状态。status 除了 confirmed,其他都是未确认 2、当注入失败失败时,refundable 字段为 true,表示可以退款,否则为 false

可通过这个接口查询在 dotswap 中被兑换的历史记录

币对兑换记录

post
Body
tick1stringRequired
coin_type1stringRequired
tick2stringRequired
coin_type2stringRequired
pageintegerRequired
page_sizeintegerRequired
Responses
chevron-right
200

成功

application/json
post
/api/pool/liquid/swap_histories
200

成功

流动池管理

CLMM--Manage Pools

post
Body
pageintegerRequired
page_sizeintegerRequired
addressstringRequired
Responses
chevron-right
200Success
application/json
post
/api/pool/clmm/manage_list

Last updated