Create Validator
POST /networks/:networkId/validators
Create a new Canton Validator.
Required Permissions
Name
Conditions
Networks:CantonValidators:Create
Always Required
Request body
Sample request body for Shared
{
"kind": "Shared",
"name": "My shared validator"
}
Sample request body for Custom
{
"kind": "Custom",
"name": "My custom validator",
"url": "http://myvalidator.com",
"oauth2": {
"audience": "https://canton.network.global",
"clientId": "xxxxxx",
"clientSecret": "xxxxxxx",
"domain": "https://dev-dfns-byov.eu.auth0.com"
}
}
Response
Response example
{
"id": "cv-xxxx",
"kind": "Custom",
"name": "My custom validator",
"dateCreated": "2023-04-14T20:41:28.715Z"
}
Last updated