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

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# /v2/state/hosted-parties

> Returns a stream of the snapshot of the hosted parties at a ledger offset, which are  satisfying the request's query parameters. Once the stream of GetHostedParties completes, the client SHOULD begin streaming topology updates from the update service, starting at the ``GetHostedPartiesResponse``.``hosted_at_offset``. Clients SHOULD NOT assume that the set of hosted parties they receive reflects the state at the ledger end.
Required permissions: ``ledger:read``

[Back to overview](https://docs.canton.network/reference/json-api-asyncapi-reference/index.md)

AsyncAPI Channel

# /v2/state/hosted-parties

Returns a stream of the snapshot of the hosted parties at a ledger offset, which are satisfying the request's query parameters. Once the stream of GetHostedParties completes, th...

WebSocket

[Added 3.8](#history-added-3-8)

Channel
/v2/state/hosted-parties

Actions
publish, subscribe

## Actions

Returns a stream of the snapshot of the hosted parties at a ledger offset, which are  satisfying the
request's query parameters.
Once the stream of GetHostedParties completes,
the client SHOULD begin streaming topology updates from the update service,
starting at the `GetHostedPartiesResponse`.`hosted_at_offset`.
Clients SHOULD NOT assume that the set of hosted parties they receive reflects the state at the ledger end.

Required permissions: `ledger:read`

[publish /v2/state/hosted-parties](https://docs.canton.network/reference/json-api-asyncapi-reference/operations/v2-state-hosted-parties/publish.md)

WebSocket

Added 3.8

Returns a stream of the snapshot of the hosted parties at a ledger offset, which are satisfying the request's query parameters. Once the stream of GetHostedParties com...

Operation ID
sendV2StateHosted-parties

Method
\-

Payload
object

[subscribe /v2/state/hosted-parties](https://docs.canton.network/reference/json-api-asyncapi-reference/operations/v2-state-hosted-parties/subscribe.md)

WebSocket

Added 3.8

Returns a stream of the snapshot of the hosted parties at a ledger offset, which are satisfying the request's query parameters. Once the stream of GetHostedParties com...

Operation ID
onV2StateHosted-parties

Method
\-

Payload
oneOf

## History

Added
`3.8`
