Skip to main content

/wallet/getproposalbyid REST API Endpoint

Queries proposal based on ID and returns proposal details.

Updated on
Oct 04, 2023

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
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free