DelegateResource

Delegate Bandwidth or Energy obtained from Stake 2.0 to another account, with an optional lock period.

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

Delegate Bandwidth or Energy obtained from Stake 2.0 to another account, with an optional lock period.

📘

Basic constraints

  • The minimum delegated amount is 1 TRX, or 1,000,000 sun.
  • An account cannot delegate resources to itself or to a contract address.
  • TRON Power cannot be delegated. The resource field accepts only Bandwidth or Energy.
  • The maximum delegable amount can be checked with GetCanDelegatedMaxSize.
💡

lock_period unit

lock_period is measured in blocks, not seconds. With a 3-second block interval, lock_period = 86400 is about 3 days. The maximum value is controlled by chain parameter #78 getMaxDelegateLockPeriod; query wallet/getchainparameters for the current value.


Related resources

Body Params
string
required

Transaction initiator address. (Format: Base58 or Hex)

string
required

Resource receiver address, in Base58 format or HEX format.

int64
required

Amount of TRX to delegate or undelegate for resources. (Unit: sun)

string
required

Type of resource. (Enum: "BANDWIDTH" or "ENERGY")

boolean
Defaults to false

Optional. Whether to lock the resource delegation. If true, the delegation cannot be canceled during the lock_period.

int64

Lock duration in blocks (1 block ≈ 3 seconds). Only valid if lock is true. (e.g., 1 day = 28800)

boolean
Defaults to false

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

int32

Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.

Responses

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