> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cosmos.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Reflection

> gRPC queries and transaction messages defined by the reflection module in Cosmos SDK v0.55.

> [!NOTE]
>
> Generated from [`cosmos/cosmos-sdk@2086680ff8b0`](https://github.com/cosmos/cosmos-sdk/tree/2086680ff8b08fd269ee653e087ea577bab79534/proto) on ref `release/v0.55.x`.

## Queries

A node exposes only the services its application registers:

* gRPC on port 9090
* REST on port 1317, if the method has an HTTP binding

Run `grpcurl -plaintext localhost:9090 list` to see what a node serves.

Queries are read-only and never pass through consensus. See [Queries](https://docs.cosmos.network/sdk/latest/learn/concepts/transactions.md#queries).

Replace `<string>` placeholders with real values and omit unused filters. Payloads use protobuf JSON, and some `string` fields accept enum constants listed under Types. Field tables give the encoding each value takes.

Examples assume a local node. For TLS endpoints, use port 443 and omit `-plaintext`. See [gRPC services](https://docs.cosmos.network/sdk/latest/api-reference/grpc/index.md) for reflection, address formats, and decimal encoding.

### FileDescriptors

FileDescriptors queries all the file descriptors in the app in order to enable easier generation of dynamic clients.

| | |
| - | - |
| gRPC | `cosmos.reflection.v1.ReflectionService/FileDescriptors` |

Request `FileDescriptorsRequest`:

This message has no fields.

Response `FileDescriptorsResponse`:

| Field | Type | Description |
| - | - | - |
| `files` | `FileDescriptorProto`\[] | files is the file descriptors. |

```bash theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
grpcurl -plaintext localhost:9090 cosmos.reflection.v1.ReflectionService/FileDescriptors
```
