Skip to main content
This page tracks the current public exports of @cloak.dev/sdk.

Main client: CloakSDK

Constructor

At least one signer path is required: keypairBytes or wallet.

Core methods

Also available:
Storage/key helpers on the class:

Note API types

UTXO API

Common UTXO transaction exports:
UTXO primitives:
Full flow guide: UTXO Transactions

Relay and proof utilities

Notes:
  • UTXO transact/swap flows submit 256-byte proofs and 264-byte public inputs.
  • RelayService is the low-level submission client; the high-level CloakSDK class wraps it for you.

Fee constants

Error utilities

Detailed usage: Error Handling

Versioned exports

Protocol and service docs