Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the current admin configuration including members and threshold.
cURL
curl --request GET \ --url https://api.onchainden.com/api/v1/admins \ --header 'Authorization: Bearer <token>'
const client = new DenClient({ apiKey: 'ck_live_...' }); const admins = await client.getAdminConfig(); console.log(`Threshold: ${admins.threshold}/${admins.members.length}`);
{ "data": { "members": [ { "id": "mem_123", "name": "Alice", "type": "user", "walletAddress": "<string>" } ], "threshold": 2 } }
{ "error": { "code": "unauthorized", "message": "Invalid API key" } }
API key authentication. Include your API key in the Authorization header.
Admin configuration
Show child attributes