curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getproposalbyid \
--header 'Content-Type: application/json' \
--data '{
"id": 1
}'{
"proposal_id": 123,
"proposer_address": "<string>",
"parameters": {},
"expiration_time": 123,
"create_time": 123,
"approvals": [
"<string>"
],
"state": "PENDING"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getproposalbyid \
--header 'Content-Type: application/json' \
--data '{
"id": 1
}'{
"proposal_id": 123,
"proposer_address": "<string>",
"parameters": {},
"expiration_time": 123,
"create_time": 123,
"approvals": [
"<string>"
],
"state": "PENDING"
}id — the ID of the proposal to retrieve information for.proposal_id — the unique identifier of the proposalproposer_address — the address of the Super Representative who created the proposalparameters — object containing the parameter changes proposedexpiration_time — timestamp when the proposal expirescreate_time — timestamp when the proposal was createdapprovals — array of Super Representatives who have approved the proposalstate — current state of the proposal (PENDING, DISAPPROVED, APPROVED, CANCELED)wallet/getproposalbyid method is used for:
Was this page helpful?