/wallet/getproposalbyid REST API Endpoint
Body Parameters
id
integer
REQUIRED
The proposal id
visible
boolean
A boolean value indicating whether the address is in base58 format
Returns
proposal_id
The proposal unique id
proposer_address
The address of the proposal
parameters
The chain params with the following fields:
key
The key associated with the proposal
value
The value associated with the proposal
expiration_time
A timestamp representing the time when the proposal is set to expire. It is usually provided in milliseconds since the Unix epoch
create_time
A timestamp representing the time when the proposal was created or initiated. It provides the creation time of the proposal and is usually provided in milliseconds since the Unix epoch
approvals
An array of strings representing the TRON addresses of users who have approved the proposal.
state
A string representing the current state or status of the proposal. It indicates the current stage or condition of the proposal. Possible values include APPROVED, REJECTED, or other relevant states
Request
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getproposalbyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free