For the complete documentation index, see llms.txt. This page is also available as Markdown.

Query Platform Total Delegation

Endpoint usage

POST https://open.tronify.io/api/staking/getTotalResource

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

Request Body

Name
Type
Description

sourceFlag*

String

Source identifier

{
  "resCode": 100,
  "resMsg": "Success",
  "data": [
    { "type": "ENERGY", "num": 125000000 },
    { "type": "BANDWIDTH", "num": 3000000 }
  ]
}
{
    // Response
}

code example

// example
const params = {
    "sourceFlag": "tronify"
}
 const res = await axios.post('https://open.tronify.io/api/staking/getTotalResource',params)
 console.log(res)
 if(res.resCode === '100'){
   //...  
 }

Postman example

Last updated