Skip to main content

/wallet/proposalapprove REST API Endpoint

Approves proposed transaction.

Updated on
Oct 4, 2023

/wallet/proposalapprove REST API Endpoint

Body Parameters

owner_address
string
REQUIRED
The address of proposal owner
proposal_id
integer
REQUIRED
The proposal ID
is_add_approval
boolean
REQUIRED
A boolean value indicating whether the approval action is to add approval or remove approval
permission_id
integer
The ID of the permission that is required to execute the transaction
visible
boolean
A boolean value indicating whether the address is in base58 format

Returns

result
A boolean value indicating whether the approval of the proposal was successful
message
The description of the result of the approved proposal
txID
The transaction ID of the approved proposal
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/proposalapprove \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "OWNER_ADDRESS",
7
"proposal_id": 89,
8
"is_add_approval": true,
9
"visible": true
10
}
11
'
12
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free