GET
/
v1
/
access
/
nonce
curl --request GET \
  --url https://api.oneofnone.io/v1/access/nonce \
  --header 'x-api-key: <api-key>'
{
  "id": "5d162e6f-20ed-4a8c-b7bb-44a53b6f7d8a",
  "message": "Please sign this message to authenticate:\\n\\nNonce: c180a20a7fcef2e63447f46e6177f9cb",
  "nonce": "c180a20a7fcef2e63447f46e6177f9cb"
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Response

200
application/json
Nonce generated successfully.
id
string

The ID of the created access code record.

Example:

"5d162e6f-20ed-4a8c-b7bb-44a53b6f7d8a"

message
string

The message to be signed by the user for authentication.

Example:

"Please sign this message to authenticate:\\n\\nNonce: c180a20a7fcef2e63447f46e6177f9cb"

nonce
string

The nonce value used for authentication.

Example:

"c180a20a7fcef2e63447f46e6177f9cb"