Skip to main content

/wallet/getcandelegatedmaxsize REST API Endpoint

Returns the amount of delegatable resources share of the specified resource type for an address.

Updated on
Oct 4, 2023

/wallet/getcandelegatedmaxsize REST API Endpoint

Body Parameters

owner_address
string
REQUIRED
The owner address, encoded in hexString
type
integer
REQUIRED
The resource type (0 is bandwidth, 1 is energy)
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

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