Swap Order Info (GET)
Swap Order Info
URL
Header: X-API-KEY
(Please do not disclose your API Key to anyone. If you are at risk of losing it, please refresh it.)
Parameters
{ids} order_id1,order_id2 Required
Notes
X-API-KEY can be obtained in your "Dashboard", go to check: Dashboard
In the paging type interface, use the next field in the return value as the query parameter for the next page (if next == null, it means that paging has ended)
Results
{
"err": false,
"res": [
{
"id": "lwzrpe4g01uc90",
"state": "done",
"chain": "solana",
"tradeType": "sell",
"txPriceUsd": 0.0121567895,
"swapHash": "46mGDpx1o9hVcNMShhUG7BwuH4XbuhBKJEVc9BW4QL3w79oZyn7Wxkfgf37QkEVS2VfSeYtMtucQhS8sTnVDAxBf",
"errorCode": "",
"errorMessage": ""
},
{
"id": "lwyrpa4605uc56",
"state": "fail",
"chain": "solana",
"tradeType": "buy",
"errorCode": "E_OTHERS",
"errorMessage": "AccountNotFound\n"
}
],
"docs": "https://dbotx.com/docs"
}
Response Parameters
Last updated