HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetProposalById

Queries proposal based on ID and returns proposal details.

Returns

FieldTypeDescription
proposal_idint64Unique ID for the chain proposal.
proposer_addressstringAddress of the proposal's creator.
parametersmap<int64, int64>Values of chain parameters as specified in the proposal, keyed by parameter ID.
parameters.keystringParameter ID.
parameters.valueint64Parameter value.
expiration_timeint64Expiration time of the proposal. (Unit: millisecond)
create_timeint64The timestamp for when the account was created. (Unit: millisecond)
approvalsstring arrayList of approver addresses.
stateenumState of the proposal. (Enum: PENDING, DISAPPROVED, APPROVED, CANCELED)state
Language
Click Try It! to start a request and see the response here!