ProposalDeleteContract
type, the fields in raw_data.contract[0].parameter.value
are:Field | Type | Description |
---|---|---|
owner_address | string | Account address |
proposal_id | int64 | Proposal ID |
{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"proposal_id": 89,
"visible": true
}
curl --location --request POST '/wallet/proposaldelete' \
--header 'Content-Type: application/json' \
--data-raw '{
"owner_address": "PHqgRM8giN6Nr9DgA1FybUjKFwd79cxhyp",
"proposal_id": 89,
"visible": true
}'
{
"Error": "class org.tron.core.exception.ContractValidateException : Proposal[89] expired"
}