post https://api.shasta.trongrid.io/wallet/undelegateresource
Cancel the delegation of bandwidth or energy resources to other accounts in Stake2.0
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is UnfreezeBalanceContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | Account address |
resource | string | Resource type |
receiver_address | string | Resource receiving address |
balance | Int64 | The number of canceled delegate resource shares, the unit is sun |