DelegateResource

Delegate bandwidth or energy resources to other accounts in Stake2.0.

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

Owner address, in Base58Check format or HEX format.

string
required

Resource receiver address, in Base58Check 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 Base58Check; set to false for hex format. (Default: false)

int32

Optional. Permission ID used for multi-signature.

Responses

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