v1
latestOpenAPI 3.0.32026-07-1320201.0 MBTron Staking
Delegate ressources
Delegation is used to delegate resources, such as Bandwidth and Energy, to other addresses. Delegating balance is a requirement for voting for Super Representatives and obtaining rewards. To ensure proper delegation of balance, it is important to follow two rules. First, the delegated balance needs to be frozen before delegation can occur. Second, the receiver address should not be the same as the owner address. These rules help maintain the integrity and security of the delegation process.
post/api/v2/tron/delegate
Headers
X-Network'testnet' | 'mainnet'
Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.
Authorizationstring required
Bearer token for authorization. Required for authenticated endpoints.
Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' required
The MIME type of the request body.
Request body
Example request
{
"address": "TVQzpd28yXB1ETsf5NMZMHjvvAE3LXEDAK",
"amount": 100,
"receiver": "TVQzpd28yXB1ETsf5NMZMHjvvAE3LXEDAK",
"resource": "ENERGY",
"password": "your_password",
"privatekey": "708c419d1b9ae123047f70787a503b6ba51e048a27966e0220cc5feXXXXXXXXX"
}Response
Delegated
Example response
{
"status": 200,
"ok": true,
"message": "Delegated",
"data": {
"result": true,
"txid": "08a9de94df7ff9e0983a91013921f4ff170c42d9b6b6f034d54228502cfe3809"
}
}