TP/SL Tasks (copy trading) (GET)
TP/SL Tasks (copy trading)
This API is used to get the user's all TP/SL tasks (from copy trading)
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
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
Response Parameters
accountId: User id
id: Task id
enabled: Task enable status, true/false
state: Order state (init/processing/done/fail/expired)
chain: Blockchain (solana/ethereum/base/bsc/tron)
tradeType: Trade type, with values of buy and sell
basePriceUsd: Buy price of token
triggerDirection: "down" means buy/sell below the trigger price, "up" means buy/sell above the trigger price
triggerPriceUsd: Price (USD) that triggers buy / sell
triggerPercent: Actual take profit / stop loss ratio
txPriceUsd: Price (USD) that actually bought / sold
currencyAmountUI: When trade type is buy, fill in the buy amount (ETH/SOL/BNB/TRX), when tradeType is sell, fill in the sell ratio (0-1)
initPnlPercent: Initial take profit / stop loss ratio
pairTrading: pair address
pairType: From which DEX
walletId: The id of the wallet to be used
walletType: Wallet type (solana/evm)
walletAddress: Wallet address
walletName: Wallet name
source: "follow_order" means the task was created by copy trading, "swap_order" means the task was created by fast buy / sell
sourceGroupIdx: Segmented take profit / stop loss task number (starting from 0)
sourceId: If the task is created by copy trading, this parameter is the copy trading task id, if the task is created by fast buy / sell, this parameter is the fast buy / sell record id
sourceTradeId: If the task is created by copy trading, this parameter is the copy trading record id, if the task is created by fast buy / sell, this parameter is the fast buy / sell record id
priorityFee: Priority Fee (SOL), valid for Solana, empty string means use auto priority fee
gasFeeDelta: Extra added gas (Gwei), valid for EVM
maxFeePerGas: When the base gas exceeds this value, no transaction will execute (Gwei), valid for EVM chains
jitoEnabled: "true" means enable anti-MEV mode (Solana & Ethereum)
jitoTip: Bribery tip used by Anti-MEV (Solana)
maxSlippage: MAX slippage tolerance (0.00-1.00)
expireAt: Task expiration time (millisecond timestamp)
expireDelta: Task duration, max 864000000 (milliseconds)
concurrentNodes: Number of concurrent nodes (1-3)
retries: Number of retries after failure (0-10)
errorCode: Error type
errorMessage: Error message
currencyInfo: Native token information
tokenInfo: Token information
link: Related links for this transaction
Last updated