Simulator Fast Buy / Sell (POST)
Simulator Fast Buy / Sell
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.)
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)
Request Example
{
"chain": "solana",
"pair": "BAS6Cv5qG2FnEQ8W1wXKGfU2r6MFAiSdgGgkUM7NsStE",
"walletId": "",
"type": "buy",
"amountOrPercent": 0.1,
"stopEarnPercent": 0.5,
"stopLossPercent": 0.5,
"stopEarnGroup": [
{
"pricePercent": 0.2,
"amountPercent": 0.5
},
{
"pricePercent": 0.8,
"amountPercent": 1
}
],
"stopLossGroup": [
{
"pricePercent": 0.2,
"amountPercent": 0.5
},
{
"pricePercent": 0.8,
"amountPercent": 1
}
],
"priorityFee": "",
"gasFeeDelta": 5,
"maxFeePerGas": 100,
"slippage": 0.1
}
Request Response
{
"err": false,
"res": {
"id": "lus8bfug0040i2"
},
"docs": "https://dbotx.com/docs"
}
Request Parameters
Last updated