Skip to content
CCPEDIAby Unity Nodes
Canton Network docsLedger API › gRPC API › Packages › v2 › Services › StateService

GetHostedPartiesPage

Updated 03-12-2026

Ledger API›gRPC API›v2›GetHostedPartiesPage

com.daml.ledger.api.v2

GetHostedPartiesPage

RPC/com.daml.ledger.api.v2.StateService/GetHostedPartiesPage

Protocol Details

ProtocolgRPC
ServiceStateService
RPCGetHostedPartiesPage
Client streamNo
Server streamNo

Inputs

GetHostedPartiesPageRequest

Messagecom.daml.ledger.api.v2.GetHostedPartiesPageRequest
Client streamNo
hosted_at_offsetint64
filterHostedPartiesFilter
page_tokenbytes
max_page_sizeint32

Outputs

GetHostedPartiesPageResponse

Messagecom.daml.ledger.api.v2.GetHostedPartiesPageResponse
Server streamNo
hosted_partiesrepeated HostedParty
hosted_at_offsetint64
next_page_tokenbytes

com.daml.ledger.api.v2.GetHostedPartiesPageRequest

hosted_at_offsetint64
filterHostedPartiesFilter
page_tokenbytes
max_page_sizeint32

com.daml.ledger.api.v2.HostedPartiesFilter

party_filterrepeated string
all_participantsbool
synchronizer_id_filterrepeated string

com.daml.ledger.api.v2.GetHostedPartiesPageResponse

hosted_partiesrepeated HostedParty
hosted_at_offsetint64
next_page_tokenbytes

com.daml.ledger.api.v2.HostedParty

partystring
hosting_participantsrepeated HostingParticipant

com.daml.ledger.api.v2.HostingParticipant

participant_idstring
synchronizer_idstring
record_timeTimestamp
offsetint64
participant_permissionParticipantPermission
hosting_stateHostingState

com.daml.ledger.api.v2.ParticipantPermission

  • PARTICIPANT_PERMISSION_UNSPECIFIED
  • PARTICIPANT_PERMISSION_SUBMISSION
  • PARTICIPANT_PERMISSION_CONFIRMATION
  • PARTICIPANT_PERMISSION_OBSERVATION

com.daml.ledger.api.v2.HostingState

  • HOSTING_STATE_UNSPECIFIED
  • HOSTING_STATE_ONBOARDING
  • HOSTING_STATE_ACTIVE

History

Added3.8.0
grpcurl
grpcurl
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.StateService/GetHostedPartiesPage <<'EOF'
{
  "hostedAtOffset": "0",
  "filter": {
    "partyFilter": [
      "string"
    ],
    "allParticipants": true,
    "synchronizerIdFilter": [
      "string"
    ]
  },
  "pageToken": "BASE64_ENCODED_BYTES",
  "maxPageSize": 0
}
EOF
OKapplication/json
OK
{
  "hostedParties": [
    {
      "party": "string",
      "hostingParticipants": [
        {
          "participantId": "string",
          "synchronizerId": "string",
          "recordTime": "string",
          "offset": "0",
          "participantPermission": "PARTICIPANT_PERMISSION_UNSPECIFIED",
          "hostingState": "HOSTING_STATE_UNSPECIFIED"
        }
      ]
    }
  ],
  "hostedAtOffset": "0",
  "nextPageToken": "BASE64_ENCODED_BYTES"
}