30 Compute Units.
Parameters
owner_address- String, required - Owner address, default hexStringtype- int32 - Resource type, 0 is bandwidth, 1 is energyvisible- Boolean - Optional. Specifies whether the address is in Base58 format (default: false).
Returns
max_size - int64 : the amount of delegatable resource share, unit is 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 {}