GetCanDelegatedMaxSize

In Stake2.0, query the amount of delegatable resources share of the specified resource type for an address, unit is sun.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns
max_size - int64 : Maximum amount of delegatable resource shares. (Unit: sun)

  • When querying the delegatable energy share of an account, if the available energy share in the account is 0, this API returns {}
  • When querying the delegatable bandwidth share of an account, if the bandwidth obtained by staking in the account is not enough to pay for the bandwidth consumed by a resource delegation transaction itself, this API also returns {}
📘

Note

The delegatable amount returned by this endpoint is estimated based on standard transactions. If the transaction includes a Memo or Multi-signature, additional bandwidth will be consumed, and the actual maximum delegatable share must be reduced accordingly. In such cases, please decrease the delegation amount based on your actual transaction structure to ensure successful execution.

  • Memo: Additional Bandwidth ≈ Memo size in bytes + 2
  • Multi-signature: Each additional signature consumes approx. 67 Bandwidth Points
Body Params
string
required

Owner address, in Base58Check format or HEX format.

int32
required
Defaults to 0

Resource type, 0 is bandwidth, 1 is energy.

boolean
Defaults to false

Optional. Set to true to format addresses in Base58Check; set to false for hex format. (Default: false)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json