Get information about the shared address DKS configuration
GET//v1/node/dks/:sharedAddress
Get information about the shared address DKS configuration
Request
Path Parameters
sharedAddress stringrequired
SharedAddress (Hex Address)
Responses
- 200
- 401
- 404
DK shares info
- application/json
- Schema
- Example (auto)
Schema
addressstringrequired
New generated shared address.
peerIdentitiesstring[]required
Identities of the nodes sharing the key. (Hex)
peerIndexint32required
Possible values: >= 1
publicKeystringrequired
Used public key. (Hex)
publicKeySharesstring[]required
Public key shares for all the peers. (Hex)
thresholdint32required
Possible values: >= 1
{
"publicKeyShares": [
"publicKeyShares",
"publicKeyShares"
],
"address": "address",
"peerIdentities": [
"peerIdentities",
"peerIdentities"
],
"threshold": 1,
"publicKey": "publicKey",
"peerIndex": 1
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (auto)
Schema
errorstringrequired
missingPermissionstringrequired
{
"error": "error",
"missingPermission": "missingPermission"
}
Shared address not found
Authorization: Authorization
name: Authorizationtype: apiKeydescription: JWT Tokenin: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/v1/node/dks/:sharedAddress");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear