GetProposalById
Queries proposal based on ID and returns proposal details.
Body params:
id
visible
Request
curl --request POST \
--url https://tron.api.watchdata.io/wallet/getproposalbyid \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"visible": true
}
'
Response
{
"proposal_id": 1,
"proposer_address": "TXyZjVcYurrbE43b2MfMtN34uA3tJL85zy",
"parameters": [
{
"key": 11,
"value": 10
}
],
"expiration_time": 1575871200000,
"create_time": 1575606708000,
"approvals": [
"TXyZjVcYurrbE43b2MfMtN34uA3tJL85zy"
],
"state": "APPROVED"
}
Last modified 1yr ago