Get User
Root user or the user themselves.
Base64URL-encoded JSON: { "publicKey": "<hex ed25519 pubkey>", "signature": "<hex ed25519 sig>" }.
The signature covers JSON.stringify([binding, Object.entries(params)]), where binding
is "<METHOD> <routePath>" (the server's route pattern, e.g. "POST /waas/create-wallet")
and params is the request body (POST) or query params (GET). This binds the stamp to
its own route so it cannot be replayed against a different endpoint. The one parameterized
route, GET /waas/scheduled-transaction/{scheduleId}, binds to the literal
"GET /waas/scheduled-transaction/:scheduleId", not the concrete ID. See the Signing
Requests guide for runnable examples.
User details
Bad request
Invalid or missing X-Stamp
Insufficient permissions
Internal server error
GET /waas/get-user?organizationId=text&userId=text&nonce=text HTTP/1.1
Host: api.hinkal.io
X-Stamp: YOUR_API_KEY
Accept: */*
{
"status": "success",
"data": {
"role": "root",
"publicKey": "text",
"allowedActions": [
"text"
],
"addresses": [
{
"evm": "0xabc123...",
"tron": "TXyz...",
"solana": "Fg6PaFpo..."
}
]
}
}Last updated