CancelAllUnfreezeV2

一次性取消所有进行中的 Stake 2.0 解质押——未到期的回滚为质押,已到期的自动提取到账户。

📘

两类资金的不同结局

  • 仍在等待期内的解质押资金 → 重新质押,获得的资源与原先完全一致(不能取消已到期资金)
  • 已经到期的解质押资金 → 无法取消,自动提取到账户余额

可通过 GetTransactionInfoById 查询本次交易的 cancel_unfreezeV2_amount(取消量)和 withdraw_expire_amount(自动提取量)。

⚠️

链参数 #77 激活要求

本接口受链参数 #77 getAllowCancelAllUnfreezeV2 控制,需主网通过提案启用后才可用。以 wallet/getchainparameters 查询实时状态。


相关资源

Body Params
string
required

交易发起方地址。(格式:Base58 或十六进制)

int32

可选。用于多签账户操作的权限 ID,未指定时默认使用 owner 权限(0)。

boolean
Defaults to false

可选。设为 true 时地址以 Base58 格式返回;设为 false 时以十六进制格式返回。(默认值:false)

Responses

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