> ## 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.

# POST /v1/admin/sv/voteresults

> **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.

**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.

OpenAPI

[Added 0.10.4](#history-added-0-10-4)

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
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>"
}'
```

```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
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)
```

```javascript JavaScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
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 PHP theme={"theme":{"light":"github-light","dark":"github-dark"}}
<?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;
```

```go Go theme={"theme":{"light":"github-light","dark":"github-dark"}}
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))
}
```

```java Java theme={"theme":{"light":"github-light","dark":"github-dark"}}
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());
```

```ruby Ruby theme={"theme":{"light":"github-light","dark":"github-dark"}}
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
```

```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "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>"
}
```

```json 400 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "error": "<string>"
}
```

```json 500 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "error": "<string>"
}
```

```json 503 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "error": "<string>"
}
```

## Body

application/json

**filters** `object`

OpenAPI type: `VoteResultsFiltersV1`.

**EXPERIMENTAL**: subject to change. Filters for vote results. A vote result is returned if it matches all filters that are set.

**child attributes**

**action\_name** `string`

Only return vote results whose action name contains this string, e.g., `SRARC_AddSv`.

**accepted** `boolean`

Only return vote results that were accepted (`true`), or that were rejected or expired (`false`).

**requester** `string`

Only return vote results whose requester name contains this string.

**effective\_from** `string`

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.

**effective\_to** `string`

OpenAPI type: `string (date-time)`.

Only return vote results whose effectiveAt is at or before this time. Vote results without an effectiveAt (rejected or expired ones) never match.

**page\_size** `number` *required*

OpenAPI type: `integer (int32)`.

The maximum number of vote results returned for this request.

Minimum: 1; Maximum: 1000.

**page\_token** `string`

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

ok

application/json

**vote\_results** `VoteResultV1[]` *required*

**child attributes**

**record\_time** `string (date-time)` *required*

The record time of the transaction in which the vote request was closed.

**synchronizer\_id** `string` *required*

The synchronizer of the transaction in which the vote request was closed.

**update\_id** `string` *required*

The update id of the transaction in which the vote request was closed.

**event\_number** `integer (int32)` *required*

The number of the `DsoRules_CloseVoteRequest` exercise event within the transaction. Identical across Scans: events are numbered by traversing the transaction in order.

**dso\_rules\_contract\_id** `string` *required*

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.

**vote\_result** `object` *required*

The `DsoRules_CloseVoteRequestResult` of the choice, in the compact Daml JSON encoding. Optional fields without a value may be encoded as `null` or omitted.

**dso\_rules** `object`

**EXPERIMENTAL**: not populated yet, and its format may change. The payload of the DsoRules with contract id `dso_rules_contract_id`, e.g., for mapping the SV names in the vote result to SV party ids.

**next\_page\_token** `string`

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 request

application/json

**error** `string` *required*

### 500

internal server error

application/json

**error** `string` *required*

### 503

service unavailable

application/json

**error** `string` *required*

## History

Added
`0.10.4`
