---
title: "Deposits queries all deposits of a single proposal."
method: GET
path: "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"
tags: ["Query"]
---

# Deposits queries all deposits of a single proposal.

`GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/gov/v1beta1/proposals/:proposal_id/deposits/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `proposal_id` string, uint64, required

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: QueryDepositsResponse is the response type for the Query/Deposits RPC method.
  - `deposits` object[]: deposits defines the requested deposits.
    - `proposal_id` string, uint64: proposal_id defines the unique id of the proposal.
    - `depositor` string: depositor defines the deposit addresses from the proposals.
    - `amount` object[]: amount to be deposited by depositor.
      - `denom` string
      - `amount` string
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
