Skip to main content

/walletsolidity/getcanwithdrawunfreezeamount REST API Endpoint

Returns withdrawable balance at the specified timestamp In Stake2.0 (Confirmed state).

Updated on
Oct 4, 2023

/walletsolidity/getcanwithdrawunfreezeamount REST API Endpoint

Body Parameters

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

Returns

amount
The withdrawable balance (unit is sun)
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcanwithdrawunfreezeamount \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "OWNER_ADDRESS",
7
"timestamp": 1667977444000,
8
"visible": true
9
}
10
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free