Skip to main content

/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits REST API Endpoint

Queries all deposits of a single proposal.

Updated on
May 9, 2024

/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits REST API Endpoint

Path Parameters

proposal_id
string
REQUIRED
The unique ID of a proposal

Query Parameters

pagination.key
string <byte>
Key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set
pagination.offset
string <uint64>
Offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set
pagination.limit
string <uint64>
The total number of results to be returned in the result page. If left empty it will default to a value to be set by each app
pagination.count_total
boolean
Set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set
pagination.reverse
boolean
Reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43

Returns

deposit
object
Defines an amount deposited by an account address to an active proposal
proposal_id
string
Defines the unique id of the proposal
depositor
string
Defines the deposit addresses from the proposals
amount
array
Amount to be deposited by depositor
denom
string
The denominated value (e.g., usei)
amount
string
The amount
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/cosmos/gov/v1beta1/proposals/15/deposits'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free