API Reference
DBot OfficialDBot DashboardPricing

自动狙击任务列表

此API用于获取用户所有自动狙击任务

FreePlusProEnterprise积分消耗
0

响应数据

{
  "err": false, // 是否发生错误
  "res": [
    {
      "accountId": "vd1l2ge6ac1dxh", // 用户id
      "id": "n1v50h7hfkt0e1", // 跟单任务id
      "enabled": true, // 任务启用状态,true/false
      "chain": "solana", // 链 (solana/ethereum/base/bsc/tron)
      "expireAt": 1731324301348, // 任务过期时间 (毫秒时间戳)
      "expireDelta": 36000000, // 任务有效时长,最大值为432000000 (毫秒)
      "walletId": "lus8auwp003zvg", // 使用的钱包的id,可通过“钱包信息 API”获取
      "walletType": "solana", // 钱包类型 (solana/evm)
      "walletAddress": "your wallet address", // 钱包地址
      "walletName": "your wallet name", // 钱包名称
      "buyState": "done", // 买入任务的状态 (init/processing/done/fail/expired)
      "buyErrorCode": "", // 买入任务错误码
      "buyErrorMessage": "", // 买入任务错误原因
      "sellState": "done", // 卖出任务的状态 (init/processing/done/fail/expired)
      "sellErrorCode": "", // 卖出任务错误码
      "sellErrorMessage": "", // 卖出任务错误原因
      "buySettings": { // 买入设置
        "buyAmountUI": 0.1, // 买入金额(ETH/SOL/BNB/TRX)
        "customFeeAndTip": false, // "true"表示优先费 (priorityFee) 和贿赂费 (jitoTip) 两个字段均有效,"false"表示高速模式下只有优先费 (priorityFee) 有效,防夹模式下只有贿赂费 (jitoTip) 有效
        "priorityFee": "0.005", // 优先费 (SOL),对Solana有效,空字符串表示使用自动优先费
        "gasFeeDelta": 5, // 额外增加的gas (Gwei),对EVM链有效
        "maxFeePerGas": 100, // 基础gas超过此值时将不进行交易 (Gwei),对EVM链有效
        "jitoEnabled": true, // "true"表示启用防夹模式 (Solana & Ethereum & Bsc)
        "jitoTip": 0.001, // 防夹模式使用的贿赂费 (Solana)
        "maxSlippage": 0.1, // 最大滑点(0.00-1.00),买入时表示实际成交价格和期望价格之间的差距
        "minLiquidity": 0, // 流动性需要大于此值才会触发狙击(美元)
        "concurrentNodes": 2, // 并发节点数(1-3)
        "retries": 1 // 失败后的重试次数(0-10)
      },
      "sellSettings": { // 卖出设置
        "enabled": true, // 卖出任务启用状态
        "tradeType": "sell", // 交易类型,值为buy和sell
        "stopEarnEnabled": true, // 是否启用止盈
        "stopEarnMode": "profit_percent", // 止盈方式,目前支持“profit_percent”,表示按百分比止盈
        "stopEarnPercentOrPrice": 0.5, // 止盈比例,0.5表示上涨50%时卖出
        "stopLossEnabled": true, // 是否启用止损
        "stopLossMode": "loss_percent", // 止损方式,目前支持“profit_percent”,表示按百分比止损
        "stopLossPercentOrPrice": 0.5, // 止损比例(0.00-1.00),0.5表示下跌50%时卖出
        "autoSell": false, // 在任务结束未触发止盈止损时,是否自动卖出
        "useMidPrice": false, // "true"表示启用防插针模式,将使用1秒内的中间价格作为触发价
        "customFeeAndTip": false, // "true"表示优先费 (priorityFee) 和贿赂费 (jitoTip) 两个字段均有效,"false"表示高速模式下只有优先费 (priorityFee) 有效,防夹模式下只有贿赂费 (jitoTip) 有效
        "priorityFee": null, // 优先费 (SOL),对Solana有效,空字符串表示使用自动优先费
        "gasFeeDelta": 5, // 额外增加的gas (Gwei),对EVM链有效
        "maxFeePerGas": 100, // 基础gas超过此值时将不进行交易 (Gwei),对EVM链有效
        "jitoEnabled": true, // "true"表示启用防夹模式 (Solana & Ethereum & Bsc)
        "jitoTip": 0.001, // 防夹模式使用的贿赂费 (Solana)
        "maxSlippage": 0.1, // 最大滑点(0.00-1.00),卖出时表示期望价格和实际成交价格之间的差距
        "concurrentNodes": 2, // 并发节点数(1-3)
        "retries": 1 // 失败后的重试次数(0-10)
      },
      "tokenInfo": { // 代币信息
        "contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump",
        "createAt": 1728554501806,
        "name": "token name",
        "symbol": "token symbol",
        "decimals": 6,
        "totalSupply": "1000000000000000",
        "icon": "icon url",
        "freezeAuthority": null,
        "mintAuthority": null
      }
    }
  ]
}
Language