买家提币
接口调用
POST
https://open.tronify.io/api/tronRent/user/withdraw/coins
以下参数带*字段为必填,不带*号为选填
Headers
Name
Type
Description
api-key*
String
访问tronify.io买家管理平台获取
Request Body
Name
Type
Description
address*
String
用户地址(钱包地址)
sourceFlag*
String
渠道来源(需要双方约定一个名称来代表三方的渠道)
balance*
String
提取trx数量
{
"resCode": 100,
"resMsg": "Success",
"data": {}
}
调用示例
// 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 示例

Last updated