Comprehensive API documentation for integrating with the elhthss platform. Build, query, and manage blockchain-native applications with secure, real-time endpoints.
{ "client_id": "project_id", "private_key": "wallet_signature" }
Returns a JWT token valid for 24 hours. Use this with the Authorization header for secured endpoints.
Use your Ethereum wallet to sign a cryptographic challenge. This generates a session key for access.
GET /api/health-records/patient-id
{ "patient_id": "0x123...", "last_access": "2025-03-14T10:23:15Z", "data_hash": "QmV4QpX..." }
Returns cryptographic hash of encrypted health records stored on IPFS.
POST /api/health-records/new-data
{ "data": "base64_encoded_patient_data", "encryption_key": "symmetricetric_key_512", "signature": "ecdsa_signature" }
Encrypts data with zero-knowledge proof attestation before blockchain registration.