API Reference
DBot OfficialDBot DashboardPricing

Swap Order Info

This API is used to query the order information of Fast Buy / Sell, the params of ids comes from the response of Fast Buy / Sell

FreePlusProEnterpriseCredit Usage
0

Response Data

{
  "err": false, // Error or not
  "res": [
    {
      "id": "lwzrpe4g01uc90", // Order id
      "state": "done", // Order state (init/processing/done/fail/expired)
      "chain": "solana", // Blockchain (solana/ethereum/base/bsc/tron)
      "tradeType": "sell", // Trade type, with values of buy and sell
      "txPriceUsd": 0.0121567895, // Buy / sell price
      "swapHash": "transaction hash", // Transaction hash
      "errorCode": "",
      "errorMessage": ""
    },
    {
      "id": "lwyrpa4605uc56",
      "state": "fail",
      "chain": "solana",
      "tradeType": "buy",
      "errorCode": "E_OTHERS", // Error type
      "errorMessage": "AccountNotFound\n" // Error message
    }
  ]
}
Language