Tron API En
Chinese API
  • Basic information
  • Tron API
    • Get related configuration
    • Pre-order
    • create trx engerg order
    • create usdt engerg order
    • create bandwidth order
    • upload purchase order hash
    • create a sell order
    • Earn energy by stake
    • recovered energy
    • cancel order
    • query purchase order
    • query recent finished order
    • query purchase order records by user address
    • query sell order records by user address
  • Seller Tron API
    • Get seller configuration
    • Seller authorization
    • Update seller configuration
    • Get seller panel
  • Buyer Tron API
    • Get buyer configuration
    • Buyer charge
    • Buyer withdraw
    • Buyer leas energy
    • Buyer leas energy records
    • Buyer asset records
  • FAQ
    • Error Code
Powered by GitBook
On this page
  • Endpoint usage
  • code example
  • Postman example
  1. Buyer Tron API

Buyer asset records

Endpoint usage

POST https://open.tronify.io/api/tronRent/user/get/fundflow

The fields with * are required, and the fields without * are optional

Headers

Name
Type
Description

api-key*

String

Access the buyer management platform of tronify.io to obtain it.

Request Body

Name
Type
Description

address*

String

User address (Wallet address)

sourceFlag*

String

Source channel (Both sides need to agree on a name to represent the channel of the third parties)

types*

String

Array. Use [] to search for all types. '0': Deposit. '1': Withdrawal. '2': Energy sale.

pageSize*

String

page size

pageNum*

String

page num

{
    "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": ""
            }
        ]
    }
}

code example

// 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 example

PreviousBuyer leas energy recordsNextError Code

Last updated 1 year ago