Skip to main content
GET
/
api
/
v2
/
{portalId}
/
auth
/
nonce
Nonce
curl --request GET \
  --url https://api.example.com/api/v2/{portalId}/auth/nonce
{
  "nonce": "80e5061ab06bcb3ad1b0614bed917b491ed6c2a0825b56c4257535580d7dc079"
}

Path Parameters

portalId
string<uuid>
required

unique portal id (provided by Magna)

Query Parameters

wallet
string
required

wallet address to generate a nonce for

Response

Ok

Ok

nonce
string
required

nonce to be signed by the wallet owner