Retrieves a single vault record by its UUID, including its full beneficiary list, complete heartbeat history (newest first), and — for vaults in an active lifecycle state — the current Stacks testnet block height fetched live from the Hiro API. The live block height lets clients compute time-to-deadline without a separate API call. It is omitted if the vault is inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/natureloved/DeadMan-Vault/llms.txt
Use this file to discover all available pages before exploring further.
funding, triggered, or claimed status, or if the Hiro API is temporarily unavailable.
Endpoint
Request Parameters
Path Parameters
The UUID of the vault to retrieve (e.g.
a3f2c891-4b7e-4d3a-9c12-8f1e2d3a4b5c). Returns 404 if no vault with this ID exists.Response
A JSON object combining the serialized vault fields, an optional current block height, the vault’s beneficiary records, and its heartbeat history.Vault Fields
UUID of the vault record.
Stacks address of the vault owner.
Owner’s notification email, if set.
Human-readable display name for the vault.
Current lifecycle state. One of
funding, active, warning, grace_period, triggered, or claimed.USDCx amount locked in the vault, as a decimal string.
How many days are allowed between consecutive heartbeats.
Stacks block height of the most recent heartbeat.
null before activation.Block height by which the next heartbeat must arrive.
null until the vault is active.Optional message shown to beneficiaries on the claim page.
On-chain transaction ID of the FlowVault deposit call.
Stacks address of the vault’s dedicated custodial keeper keypair.
Live Stacks testnet block height from the Hiro API. Present only when
status is active, warning, or grace_period, and only when the Hiro API responds successfully. Use heartbeatDeadlineBlock - currentBlock to compute blocks remaining before the deadline.ISO 8601 timestamp of vault creation.
ISO 8601 timestamp of the last vault record modification.
Beneficiaries
All beneficiary records associated with this vault.
Heartbeats
All heartbeat records for this vault, ordered newest first.
If the Hiro API is unavailable when fetching
currentBlock, the server logs the error and returns the vault response without a currentBlock value rather than returning a 500. Client code should treat an absent currentBlock as indeterminate.Example Request
Example Response
Error Responses
| Status | Error | Description |
|---|---|---|
404 | Vault not found | No vault record exists for the given id. |
500 | Server misconfigured: missing Supabase env vars | Required server-side environment variables are absent. |