Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Splice APIsScan APIsScan APIView on Canton Network Docs

GET /v1/domains/:domain_id/parties/:party_id/participant-id

GET
/
api
/
scan
/
v1
/
domains
/
{domain_id}
/
parties
/
{party_id}
/
participant-id
Try it
cURL
Python
JavaScript
PHP
Go
Java
Ruby
curl --request GET \
  --url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id'
import json
import requests

url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id"
response = requests.request("GET", url)

print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id', {
  method: 'GET',
});

console.log(await response.text());
<?php
$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'GET',
]);

$response = curl_exec($curl);
echo $response;
package main

import (
  "fmt"
  "io"
  "net/http"
)

func main() {
  req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id", nil)
  response, _ := http.DefaultClient.Do(req)
  defer response.Body.Close()
  body, _ := io.ReadAll(response.Body)
  fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder()
    .uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
var response = HttpClient.newHttpClient().send(
    request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'

uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
  http.request(request)
end
puts response.body
200
404
500
{
  "participant_ids": [
    "<string>"
  ]
}
{
  "error": "<string>"
}
{
  "error": "<string>"
}

Get the IDs of the participants hosting a given party. Unlike /v0, this endpoint supports parties hosted on multiple participants.

cURL
Python
JavaScript
PHP
Go
Java
Ruby
curl --request GET \
  --url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id'
import json
import requests

url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id"
response = requests.request("GET", url)

print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id', {
  method: 'GET',
});

console.log(await response.text());
<?php
$curl = curl_init();

curl_setopt_array($curl, [
    CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'GET',
]);

$response = curl_exec($curl);
echo $response;
package main

import (
  "fmt"
  "io"
  "net/http"
)

func main() {
  req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id", nil)
  response, _ := http.DefaultClient.Do(req)
  defer response.Body.Close()
  body, _ := io.ReadAll(response.Body)
  fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var request = HttpRequest.newBuilder()
    .uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
var response = HttpClient.newHttpClient().send(
    request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'

uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/domains/{domain_id}/parties/{party_id}/participant-id')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
  http.request(request)
end
puts response.body
200
404
500
{
  "participant_ids": [
    "<string>"
  ]
}
{
  "error": "<string>"
}
{
  "error": "<string>"
}

Path parameters

domain_id
string
required
The synchronizer ID to look up a mapping for.
party_id
string
required
The party ID to lookup a participant ID for.

Responses

200

ok
application/json
participant_ids
string[]
required
IDs of the participants hosting the provided party, each in the form PAR::id::fingerprint

404

not found
application/json
error
string
required

500

internal server error
application/json
error
string
required

History

Added0.5.17