Canton Network docsSplice APIs › Scan APIs › Scan API
POST /v1/admin/sv/voteresults
Updated 26-11-2026
cURL
Python
JavaScript
PHP
Go
Java
Ruby
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults", bytes.NewBufferString(`{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
200
400
500
503
{
"vote_results": [
{
"record_time": "2026-01-01T00:00:00Z",
"synchronizer_id": "<string>",
"update_id": "<string>",
"event_number": 123,
"dso_rules_contract_id": "<string>",
"vote_result": {},
"dso_rules": {}
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
POST
/
api
/
scan
/
v1
/
admin
/
sv
/
voteresults
cURL
Python
JavaScript
PHP
Go
Java
Ruby
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults", bytes.NewBufferString(`{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
200
400
500
503
{
"vote_results": [
{
"record_time": "2026-01-01T00:00:00Z",
"synchronizer_id": "<string>",
"update_id": "<string>",
"event_number": 123,
"dso_rules_contract_id": "<string>",
"vote_result": {},
"dso_rules": {}
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
EXPERIMENTAL: This endpoint is experimental and subject to change, do not rely on it yet. It is meant to replace /v0/admin/sv/voteresults, which will be deprecated once this endpoint is validated. Lists the results of closed vote requests, i.e., of exercised DsoRules_CloseVoteRequest choices, that match the request filters.
OpenAPIAdded 0.10.4
cURL
Python
JavaScript
PHP
Go
Java
Ruby
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v1/admin/sv/voteresults", bytes.NewBufferString(`{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"filters": {
"action_name": "<string>",
"accepted": false,
"requester": "<string>",
"effective_from": "2026-01-01T00:00:00Z",
"effective_to": "2026-01-01T00:00:00Z"
},
"page_size": 123,
"page_token": "<string>"
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
200
400
500
503
{
"vote_results": [
{
"record_time": "2026-01-01T00:00:00Z",
"synchronizer_id": "<string>",
"update_id": "<string>",
"event_number": 123,
"dso_rules_contract_id": "<string>",
"vote_result": {},
"dso_rules": {}
}
],
"next_page_token": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
{
"error": "<string>"
}
Body
application/json
OpenAPI type:
VoteResultsFiltersV1.EXPERIMENTAL: subject to change. Filters for vote results. A vote result is returned if it matches all filters that are set.Show child attributes
Show child attributes
Only return vote results whose action name contains this string, e.g.,
SRARC_AddSv.Only return vote results that were accepted (
true), or that were rejected or expired (false).OpenAPI type:
string (date-time).Only return vote results whose effectiveAt is at or after this time. Vote results without an effectiveAt (rejected or expired ones) never match.OpenAPI type:
integer (int32).The maximum number of vote results returned for this request.Minimum: 1; Maximum: 1000.Cursor for pagination. To request the next page of results, pass the
next_page_token of the previous response, together with the same filters. The cursor is opaque.Responses
200
okapplication/json
Show child attributes
Show child attributes
The record time of the transaction in which the vote request was closed.
The synchronizer of the transaction in which the vote request was closed.
The number of the
DsoRules_CloseVoteRequest exercise event within the transaction. Identical across Scans: events are numbered by traversing the transaction in order.The contract id of the DsoRules on which the
DsoRules_CloseVoteRequest choice was exercised, i.e., of the DsoRules at the time the vote request was closed.The
DsoRules_CloseVoteRequestResult of the choice, in the compact Daml JSON encoding. Optional fields without a value may be encoded as null or omitted.Cursor for the next page of results. Pass this as
page_token in the next request. Absent if this page is empty, which means that there are no more pages. A page that is not empty always has a cursor, even if it is the last one.400
bad requestapplication/json
500
internal server errorapplication/json
503
service unavailableapplication/json
History
Added
0.10.4