Paygo
Paygo: exact fee quote for one token transfer
Partner API (wallet integrations). Returns an exact, fixed-price fee quote for a specific sender→recipient TRC-20 transfer, computed by live simulation on the TRON node (recipient storage state and the TIP-491 dynamic energy factor included). The quoted feeTrx is final: the user signs a TRX payment for exactly this amount. Requires a partner API key enabled for paygo.
post/api/v1/paygo/estimate
Request
- Base URL: https://powersun.vip
- URL: https://powersun.vip/api/v1/paygo/estimate
- Auth: API key in header X-API-Key
Request body
Example request
{
"tokenContract": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"amount": "25000000"
}Response
Fixed-price quote
Example response
{
"estimateId": "pe_7c11d9a0",
"energy": 64285,
"bandwidth": 613,
"burnCostTrx": "6.7735",
"feeTrx": "5.6332",
"feeSun": 5633200,
"energyPriceSun": 80,
"bandwidthPriceSun": 800
}Changes
No recorded changes to this operation across all 1 revision of this API.