Skip to content

`POST /api/v1/auth/challenge` — issue a nonce for the operator to sign.

POST
/api/v1/auth/challenge
curl --request POST \
--url https://example.com/api/v1/auth/challenge \
--header 'Content-Type: application/json' \
--data '{ "public_key": "example" }'
Media type application/json

Request body for POST /api/v1/auth/challenge.

object
public_key
required

Hex-encoded Ed25519 public key of the operator.

string
Example generated
{
"public_key": "example"
}

Challenge nonce issued

Media type application/json

Response body for POST /api/v1/auth/challenge.

object
nonce
required

Hex-encoded 32-byte nonce to be signed by the operator.

string
Example generated
{
"nonce": "example"
}

Invalid public key

Unknown or inactive operator