delegateresource
, making those resources available to your own account again.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address
— the address that originally delegated the resources (hex format)receiver_address
— the address that was receiving the delegated resources (hex format)balance
— the amount of TRX worth of resources to undelegate (in sun, where 1 TRX = 1,000,000 sun)resource
— the resource type to undelegate (“BANDWIDTH” or “ENERGY”)visible
— optional boolean to specify address format (default: false for hex format)
Response
visible
— boolean indicating address format usedtxID
— transaction ID hashraw_data
— raw transaction data objectraw_data_hex
— hexadecimal representation of raw transaction data
Use case
Thewallet/undelegateresource
method is used for:
- Reclaiming bandwidth or energy resources that were delegated to other accounts.
- Managing resource allocation when delegation is no longer needed.
- Redistributing resources between different accounts in your control.
- Optimizing resource utilization across multiple addresses.
Body
application/json
Available options:
BANDWIDTH
, ENERGY