post
https://api.shasta.trongrid.io/wallet/cancelallunfreezev2
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
在执行取消解质押时,会将所有未完成的解质押的本金重新用于质押,获取的资源类型与之前质押时相同。如果存在已过锁定期的解质押的本金,那么本次取消解质押操作会将已过锁定期的解质押本金提取到账户内,可通过gettransactioninfobyid接口查询本次交易取消的解质押本金数额,即重新质押的TRX数额cancel_unfreezeV2_amount,以及提取到的已过锁定期的本金数量withdraw_expire_amount 。
返回值
Transaction对象 - JSON object:未签名的交易,包含的字段请参考交易章节,由于交易类型为CancelAllUnfreezeV2Contract,所以交易中的raw_data.contract[0].parameter.value中包含的字段如下:
| 字段 | 类型 | 描述 |
|---|---|---|
| owner_address | string | 交易发起者地址。 |