Skip to main content

/wallet/listproposals REST API Endpoint

List all proposals.

Updated on
Oct 4, 2023

/wallet/listproposals REST API Endpoint

Parameters

This method does not accept any parameters

Returns

proposals
An array of proposals with the following fields:
proposal_id
A boolean value indicating whether the approval of the proposal was successful
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
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/listproposals \
2
--request GET \
3
--header 'accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free