HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetProposalById

Queries proposal based on ID and returns proposal details.

Returns

FieldTypeDescription
proposal_idint64Proposal ID
proposer_addressstringProposer address
parametersmap<int64, int64>Chain params
parameters.keystringParam ID
parameters.valueint64Param value
expiration_timeint64Proposal expiration time
create_timeint64Proposal creation time
approvalsstring arrayApprovers address
stateenumState of the proposal, has four enum values: PENDING, DISAPPROVED, APPROVED and CANCELED
Language
Click Try It! to start a request and see the response here!