买家trx变化记录
接口调用
POST
https://open.tronify.io/api/tronRent/user/get/fundflow
以下参数带*字段为必填,不带*号为选填
Headers
Name
Type
Description
api-key*
String
访问tronify.io买家管理平台获取
Request Body
Name
Type
Description
address*
String
用户地址(钱包地址)
sourceFlag*
String
渠道来源(需要双方约定一个名称来代表三方的渠道)
pageSize*
String
条数
pageNum*
String
页码
types
String
数组,传[]查所有类型 '0'充值; '1'提币; '2'出售能量
{
"resCode": 100,
"resMsg": "Success",
"data": {
"total": 9,
"list": [
{
"id": 100,
"platformAddr": "TNuwNr2rxaptoCrkEc1tEL7ihTsB9fost1",
"tronAddress": "TW7XuicuiQSHCcodUkyjMfdWxnWsbZmiSS",
"balance": "20",
"type": "1",
"status": "complete",
"createTime": "2023-06-21 00:02:41",
"updateTime": "2023-06-20T16:03:51.000Z",
"orderId": "qrfoum6b_e15i_c71f_mr1p_rda2f1df0i2k",
"fromHash": "e1af0c1cfcbcd8156dc44f0d7b4efb2aa3184886933cd8a80b1297182be8e824"
},
{
"id": 99,
"platformAddr": "TNuwNr2rxaptoCrkEc1tEL7ihTsB9fost1",
"tronAddress": "TW7XuicuiQSHCcodUkyjMfdWxnWsbZmiSS",
"balance": "20",
"type": "0",
"status": "complete",
"createTime": "2023-06-21 00:02:16",
"updateTime": "2023-06-20T16:02:16.000Z",
"orderId": "l8bmicd1_qljt_5w91_lr9x_7a8k85ojd5f8",
"fromHash": "73c9815e1cb7a25f0a5c66fe0c0847b1ce55b287ad46c297e6479f4ef3d09367"
},
{
"id": 92,
"platformAddr": "TNuwNr2rxaptoCrkEc1tEL7ihTsB9fost1",
"tronAddress": "TW7XuicuiQSHCcodUkyjMfdWxnWsbZmiSS",
"balance": "3.68",
"type": "2",
"status": "complete",
"createTime": "2023-06-20 15:07:42",
"updateTime": "2023-06-20T07:08:56.000Z",
"orderId": "mxxxeymv_1lkl_9b3e_kehf_tnwiazfzmluo",
"fromHash": ""
}
]
}
}
调用示例
// example
const params = {
types: [],
startTime: "",
endTime: "",
pageNum: 1,
pageSize: 10,
address: "TW7XuicuiQSHCcodUkyjMfdWxnWsbZmiSS",
sourceFlag: "path"
}
const headers = {
'api-key': 'your-api-key'
};
const res = await axios.post('https://open.tronify.io/api/tronRent/user/get/fundflow',params, { headers })
console.log(res)
if(res.resCode === '100'){
//...
}
Postman 示例

Last updated