API Reference.
Interact programmatically with our indexing and metadata nodes. While the core protocol is EVM based, our secondary indexing layer exposes traditional REST endpoints for UI convenience.
Authentication & Host
All requests must be prefixed with the base URL:
https://api.digitalwill.protocol/apiYou authenticate via an EIP-4361 standard JWT derived from your wallet signature. Pass this in the header:
Authorization: Bearer <YOUR_SIGNED_JWT>Content-Type: application/jsonEndpoints
/v1/assetsCreate a new encrypted asset reference. Associates the IPFS CID with the owner's wallet and defines release conditions.
/v1/assets/owner/:walletAddressRetrieve all active asset configurations for a specific wallet address. Returns metadata, not the decryption keys.
/v1/heartbeat/pingRecord a liveness check-in for a specific wallet. Extends the decay timer before assets are released to beneficiaries.
/v1/beneficiaries/claimInitiate an asset claim process. Requires proving identity and verifying the owner's vault has decayed.