DelegateResource

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

返回值

Transaction对象 - JSON object:未签名的交易,包含的字段请参考交易章节,由于交易类型为DelegateResourceContract,所以交易中的raw_data.contract[0].parameter.value中包含的字段如下:

字段类型描述
owner_addressstring交易发起者地址。
resourcestring资源类型。(枚举值: BANDWIDTH, ENERGY)
receiver_addressstring资源接收方地址。
balanceInt64资源代理金额。(单位: sun)
lockbool是否锁定资源代理。如果为 true,则在 lock_period 期间无法取消代理。
lock_periodInt64锁定时长 (单位: 区块数, 1 区块 ≈ 3 秒)。仅在 locktrue 时有效。(例如 1 天 = 28800)
Body Params
string
required
string
required
int64
required
string
required
boolean
Defaults to false
int64
boolean
Defaults to false
int32
Responses

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