Token Collection (POST)
Token Collection
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",
"fromWalletIds": [
"y2e8ft2o105l75",
"iay5tlko690fg3",
"lv260jui050daj"
],
"toAddress": "87CejvPwhBwuLr6cQ9Cjpb4ASTbXx1xaUyAm5J7RT4Bh",
"token": "",
"keepAmountUI": 0.5,
"gasFeeDelta": 0,
"maxFeePerGas": 0,
"priorityFee": 0.001
}
Request Response
{
"err": false,
"res": [
{
"err": false,
"msg": "OK",
"walletAddress": "Fnpyvw6cmc8VzKcyLnYENa78uCEsnAUJ5V7aRQXLodw4",
"txid": "3ghheeVeiT6vorkZJehjSvwi4afo8qWL5ru9YfJRzCgcxJyd52ravvobEGDHd6v8ZznfnBj5EGQbYqhEHR33ZHVA",
"amountUnit": "99999999500000",
"decimals": 6
},
{
"err": false,
"msg": "OK",
"walletAddress": "5yRfpu87ackjzYjDJWfxsMG9yC6zoYJPSKNF43SyyfJS",
"txid": "6hRyGmPQBadthc56bbqJivTaSCksHazrkmvidRt5ZQkkaKXJEZH3WAC9n2boWG3M2qcvaR3XzOH8bPJg1koGREgg",
"amountUnit": "99999999500000",
"decimals": 6
}
],
"docs": "https://dbotx.com/docs"
}
Request Parameters
Last updated