> ## 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 (unreleased).

<Info>
  Generated from [`cosmos/cosmos-sdk@c1126e4e5460`](https://github.com/cosmos/cosmos-sdk/tree/c1126e4e5460571378bf9bd9c49cce476b0791e2/proto) on ref `main`.
</Info>

## 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](/sdk/next/learn/concepts/transactions#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](/sdk/next/api-reference/grpc/index) 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
```
