getavailableunfreezecount - Tron
getavailableunfreezecount. Returns the number of remaining unfreeze operations available for an account under Stake 2.0.
getavailableunfreezecount - tron [Value: 20CU]
Returns the number of remaining unfreeze operations available for an account under Stake 2.0.
Use cases
- Also available as GET
- Warn a user before they hit the maximum number of concurrent pending unfreezes
Constraints
- Tron currently caps an account at 32 concurrent pending Stake 2.0 unfreeze operations
- 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/getavailableunfreezecount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "visible": true}'Response
200
{
"count": 28
}Request params
idinteger
jsonrpcstring
methodstring
object
owner_addressstring
[Conditional required for GET] The account address to query
visibleboolean
When true, addresses are base58check strings; when false (default), hex strings
Response
200
Returns the number of remaining unfreeze operations available for an account under Stake 2.0.Response params
object
countinteger
Number of unfreezebalancev2 calls the account can still make (capped at 32 concurrent pending unfreezes)