Buyer withdraw
Endpoint usage
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"resCode": 100,
"resMsg": "Success",
"data": {}
}code example
// example
const params = {
address: 'TKghVbeEzvrV8GLK3YE1gRrjVHSf8rGB6k',
balance: 100,
sourceFlag: 'tronLink'
}
const headers = {
'api-key': 'your-api-key'
};
const res = await axios.post('https://open.tronify.io/api/tronRent/user/withdraw/coins',params, { headers })
console.log(res)
if(res.resCode === '100'){
//...
}Postman example

Last updated