getcandelegatedmaxsize - Tron

getcandelegatedmaxsize. Returns the maximum amount of a resource an account can still delegate to others.

getcandelegatedmaxsize - tron [Value: 20CU]
Returns the maximum amount of a resource an account can still delegate to others.
Use cases

Use cases

  • Also available as GET
  • Validate a delegateresource call's balance parameter before submitting it
Constraints

Constraints

  • Reflects only currently un-delegated, un-locked staked balance
  • Also available under /walletsolidity/ for confirmed (solidified) data instead of the latest state
Get started
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/getcandelegatedmaxsize \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "type": 1, "visible": true}'
Copy
Response
200
{
  "max_size": 5000000
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
owner_addressstring
[Required for GET] The account address to query
typeinteger
Resource type: 0 for BANDWIDTH, 1 for ENERGY
visibleboolean
When true, addresses are base58check strings; when false (default), hex strings

Response

200
Returns the maximum amount of a resource an account can still delegate to others.

Response params

object
max_sizeinteger
Maximum amount, in sun-equivalent stake, still available to delegate