ConstReadonlyDIGEST_MISMATCH: "DIGEST_MISMATCH"ReadonlyFORFEIT_CLOSURE_LOCKED: "FORFEIT_CLOSURE_LOCKED"A CLTV closure was spent before its absolute locktime matured. Raised only by
submitTx (never finalizeTx), with metadata
{ locktime, current_locktime, type: "height" | "time" }.
Self-healing, so defer and retry rather than fail: the server matures a seconds-locktime against the chain tip block's timestamp, not its wall clock, so a spend attempted promptly at maturity is rejected until a later block lands.
ReadonlyINVALID_TX_FILTER: "INVALID_TX_FILTER"ReadonlyTX_FILTERS_LIMIT_EXCEEDED: "TX_FILTERS_LIMIT_EXCEEDED"ReadonlyVTXO_ALREADY_SPENT: "VTXO_ALREADY_SPENT"
Structured arkd error
names the SDK branches on, centralized so call sites don't hardcode string literals. Not an exhaustive mirror of the server's codes — only the ones the SDK acts on.