ProposalDelete
Deletes Proposal Transaction.
This method will use 30
Compute Units.
Parameters
owner_address
- String - Address of the proposal ownerproposal_id
- int32 - Proposal IDparameters
- json - Proposal parameterspermission_id
- int32 - Optional, for multi-signature usevisible
- boolean - Optional. Specifies whether the address is in Base58 format (default: false)
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is ProposalDeleteContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field
Type
Description
owner_address
string
Account address
proposal_id
int64
Proposal id
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/proposaldelete \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"owner_address": "TCuM8e98jmPwT1RU2jW7dekUC5HpXbGzFG",
"proposal_id": 89,
"visible": true
}
'
Last updated
Was this helpful?