Canton Network docsLedger API › gRPC API › Packages › v2 › Services › StateService
GetHostedPartiesPage
Updated 03-12-2026
RPC
/com.daml.ledger.api.v2.StateService/GetHostedPartiesPageProtocol Details
ProtocolgRPC
ServiceStateService
RPCGetHostedPartiesPage
Client streamNo
Server streamNo
Inputs
Messagecom.daml.ledger.api.v2.GetHostedPartiesPageRequest
Client streamNo
hosted_at_offsetint64filterHostedPartiesFilterpage_tokenbytesmax_page_sizeint32Outputs
Messagecom.daml.ledger.api.v2.GetHostedPartiesPageResponse
Server streamNo
hosted_partiesrepeated HostedPartyhosted_at_offsetint64next_page_tokenbytesRelated Schemas
com.daml.ledger.api.v2.GetHostedPartiesPageRequest
com.daml.ledger.api.v2.GetHostedPartiesPageRequest
hosted_at_offsetint64filterHostedPartiesFilterpage_tokenbytesmax_page_sizeint32com.daml.ledger.api.v2.HostedPartiesFilter
com.daml.ledger.api.v2.HostedPartiesFilter
party_filterrepeated stringall_participantsboolsynchronizer_id_filterrepeated stringcom.daml.ledger.api.v2.GetHostedPartiesPageResponse
com.daml.ledger.api.v2.GetHostedPartiesPageResponse
hosted_partiesrepeated HostedPartyhosted_at_offsetint64next_page_tokenbytescom.daml.ledger.api.v2.HostedParty
com.daml.ledger.api.v2.HostedParty
partystringhosting_participantsrepeated HostingParticipantcom.daml.ledger.api.v2.HostingParticipant
com.daml.ledger.api.v2.HostingParticipant
participant_idstringsynchronizer_idstringrecord_timeTimestampoffsetint64participant_permissionParticipantPermissionhosting_stateHostingStatecom.daml.ledger.api.v2.ParticipantPermission
com.daml.ledger.api.v2.ParticipantPermission
PARTICIPANT_PERMISSION_UNSPECIFIEDPARTICIPANT_PERMISSION_SUBMISSIONPARTICIPANT_PERMISSION_CONFIRMATIONPARTICIPANT_PERMISSION_OBSERVATION
com.daml.ledger.api.v2.HostingState
com.daml.ledger.api.v2.HostingState
HOSTING_STATE_UNSPECIFIEDHOSTING_STATE_ONBOARDINGHOSTING_STATE_ACTIVE
History
Added
3.8.0grpcurl
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"
}