Wallets

DeriveContextHash

Changed on

Derive a deterministic 32-byte value bound to (wallet main address, network, application, context). The derivation is stateless: the same inputs always yield the same output (so it can be re-derived later), and changing any input produces an independent, unpredictable output. This value should not be relied on for long-term confidentiality.

Callable by scoped users, limited to wallets within their scope.

post/v2/vaults/{vault_id}/wallets/{wallet_id}:deriveContextHash

Request

Path parameters

vault_idstring required
wallet_idstring required

Request body

networkstring required

The network the derivation is bound to.

Format: networks/{network_id}

applicationstring required

Application domain tag used for domain separation, e.g. "babylon-btc-vault".

contextstring required

Application-supplied value that participates in domain separation.

Response

A successful response.

contextHashstring byte

The derived 32-byte value.

Changes