post https://api.shasta.trongrid.io/wallet/getproposalbyid
Queries proposal based on ID and returns proposal details.
Returns
Field | Type | Description |
---|---|---|
proposal_id | int64 | Proposal ID |
proposer_address | string | Proposer address |
parameters | map<int64, int64> | Chain params |
parameters.key | string | Param ID |
parameters.value | int64 | Param value |
expiration_time | int64 | Proposal expiration time |
create_time | int64 | Proposal creation time |
approvals | string array | Approvers address |
state | enum | State of the proposal, has four enum values: PENDING, DISAPPROVED, APPROVED and CANCELED |