getcanwithdrawunfreezeamount - Tron
getcanwithdrawunfreezeamount. Returns the amount of unfrozen TRX currently available for withdrawal from an account.
getcanwithdrawunfreezeamount - tron [Value: 20CU]
Returns the amount of unfrozen TRX currently available for withdrawal from an account.
Use cases
- Also available as GET
- Check whether it's worth calling withdrawexpireunfreeze yet
Constraints
- Returns 0 if no unfreeze operations have completed their waiting period yet
- Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/tron/{API-KEY}/wallet/getcanwithdrawunfreezeamount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "timestamp": 1, "visible": true}'Response
200
{
"amount": 1000000
}Request params
idinteger
jsonrpcstring
methodstring
object
owner_addressstring
[Required for GET] The account address to query
timestampinteger
Unix timestamp, in ms, to check withdrawable amount as of. Defaults to now
visibleboolean
When true, addresses are base58check strings; when false (default), hex strings
Permission_idinteger
Multi-sig permission ID
Response
200
Returns the amount of unfrozen TRX currently available for withdrawal from an account.Response params
object
amountinteger
TRX, in sun, whose unfreeze waiting period has completed and is ready to withdraw