Get user keyshares
GET/v1/keyshares
Get user keyshares
This endpoint retrieves encrypted key shares associated with a user's API keys, accounts, and wallets. It returns a list of Keyshare objects, each containing the encrypted key share, optional initialization vector (IV), and identifiers for the wallet, API key, and account. This endpoint supports GET requests and responds with HTTP status codes 200 for successful retrieval, 404 if no wallets are found for the user, and 500 for internal server errors.
Responses
- 200
- 404
- 500
User keyshares found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
account_id uuidnullable
dkg_id uuidnullable
encrypted_key_share binaryrequired
encryption_iv binarynullable
pending_acceptance booleannullable
server_auth_tag binarynullable
user_id uuidrequired
wallet_id uuidnullable
[
{
"account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dkg_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"encrypted_key_share": "string",
"encryption_iv": "string",
"pending_acceptance": true,
"server_auth_tag": "string",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"wallet_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
No wallets found for this user
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...