Skip to main content

/wallet/getavailableunfreezecount REST API Endpoint

Returns remaining times of executing unstake operation in Stake2.0

Updated on
Oct 4, 2023

/wallet/getavailableunfreezecount REST API Endpoint

Stake 2.0 allows unstaking in batches, but it imposes a limit of 32 simultaneous unstake operations. This means that after initiating the first unstake, users must wait for the first transaction to complete before starting another unstake operation. During this time, they can only initiate up to 31 additional unstake operations. This safeguard is implemented to prevent potential malicious attacks and ensure the overall security of the system.

Body Parameters

owner_address
string
REQUIRED
The owner address, encoded in hexString
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

count
The remaining times of available unstaking
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"visible": true
8
}
9
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free