自动狙击任务列表(GET)
Last updated
Last updated
此API用于获取用户所有自动狙击任务
(请不要向任何人透露APIKey,如有遗失风险,请刷新)
{page} 0 / 1 / 2
{size} 10 / 20 (max 20)
{chain} solana / ethereum / base / bsc / tron
{state} init / done / expired
X-API-KEY可以在您的"控制台"中获取, 前往查看:
在分页类型的接口中, 通过返回值中的next字段, 作为下一页的查询参数(如果next == null, 意味着分页已经结束)
{
"err": false,
"res": [
{
"accountId": "vd1l2ge6ac1dxh",
"id": "n1v50h7hfkt0e1",
"enabled": true,
"chain": "solana",
"expireAt": 1731324301348,
"expireDelta": 36000000,
"walletId": "lus8auwp003zvg",
"walletType": "solana",
"walletAddress": "your wallet address",
"walletName": "your wallet name",
"buyState": "done",
"buyErrorCode": "",
"buyErrorMessage": "",
"sellState": "done",
"sellErrorCode": "",
"sellErrorMessage": "",
"buySettings": {
"buyAmountUI": 0.1,
"customFeeAndTip": false,
"priorityFee": "0.005",
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"jitoEnabled": true,
"jitoTip": 0.001,
"maxSlippage": 0.1,
"minLiquidity": 0,
"concurrentNodes": 2,
"retries": 1
},
"sellSettings": {
"enabled": true,
"tradeType": "sell",
"stopEarnEnabled": true,
"stopEarnMode": "profit_percent",
"stopEarnPercentOrPrice": 0.5,
"stopLossEnabled": true,
"stopLossMode": "loss_percent",
"stopLossPercentOrPrice": 0.5,
"autoSell": false,
"useMidPrice": false,
"customFeeAndTip": false,
"priorityFee": null,
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"jitoEnabled": true,
"jitoTip": 0.001,
"maxSlippage": 0.1,
"concurrentNodes": 2,
"retries": 1
},
"tokenInfo": {
"contract": "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump",
"createAt": 1728554501806,
"name": "token name",
"symbol": "token symbol",
"decimals": 6,
"totalSupply": "1000000000000000",
"icon": "icon url",
"freezeAuthority": null,
"mintAuthority": null
}
}
],
"docs": "https://dbotx.com/docs"
}
accountId:用户id
id:跟单任务id
enabled:任务启用状态,true/false
chain:链 (solana/ethereum/base/bsc/tron)
expireAt:任务过期时间 (毫秒时间戳)
expireDelta:任务有效时长,最大值为864000000 (毫秒)
walletId:需要使用的钱包的id
walletType:钱包类型 (solana/evm)
walletAddress:钱包地址
walletName:钱包名称
buyState:买入任务的状态 (init/processing/done/fail/expired)
buyErrorCode:买入任务错误码
buyErrorMessage:买入任务错误原因
sellState:卖出任务的状态 (init/processing/done/fail/expired)
sellErrorCode:卖出任务错误码
sellErrorMessage:卖出任务错误原因
buySettings:买入设置
sellSettings:卖出设置
buyAmountUI:买入金额(ETH/SOL/BNB/TRX)
customFeeAndTip: "true"表示优先费 (priorityFee) 和贿赂费 (jitoTip) 两个字段均有效,系统将按填写的值执行交易 (null表示自动优先费/自动贿赂费),"false"表示高速模式下只有优先费 (priorityFee) 有效,防夹模式下只有贿赂费 (jitoTip) 有效,系统将自动进行分配
jitoEnabled:"true"表示启用防夹模式(Solana & Ethereum)
jitoTip:防夹模式使用的贿赂费 (Solana)
priorityFee:优先费 (SOL),对Solana有效,空字符串表示使用自动优先费
gasFeeDelta:额外增加的gas (Gwei),对EVM链有效
maxFeePerGas:基础gas超过此值时将不进行交易 (Gwei),对EVM链有效
minLiquidity:流动性需要大于此值才会触发狙击(美元)
maxSlippage:最大滑点(0.00-1.00)买入时表示实际成交价格和期望价格之间的差距,卖出时表示期望价格和实际成交价格之间的差距,相差倍数=1/(1-滑点),0.5即最多接受2倍价差,1 即不限制价差
concurrentNodes:并发节点数(1-3)
retries:失败后的重试次数(0-10)
enabled (sellSettings):卖出任务启用状态
tradeType:交易类型,值为buy和sell
stopEarnEnabled:是否启用止盈
stopEarnMode:止盈方式,目前支持“profit_percent”,表示按百分比止盈
stopEarnPercentOrPrice:止盈比例,0.5表示上涨50%时卖出
stopLossEnabled:是否启用止损
stopLossMode:止损方式,目前支持“profit_percent”,表示按百分比止损
stopLossPercentOrPrice:止损比例(0.00-1.00),0.5表示下跌50%时卖出
autoSell:在任务结束未触发止盈止损时,是否自动卖出
useMidPrice: "true"表示启用防插针模式,将使用1秒内的中间价格作为触发价,会尽可能但无法100%保证避免插针