sdk/src/index.ts.
Main client: CloakSDK
Constructor
keypairBytes or wallet.
Core methods
Note API types
UTXO API
Exports fromcore/utxo.ts and core/transact.ts:
Relay and proof utilities
- UTXO transact/swap flows submit 256-byte proofs and 264-byte public inputs.
RelayService.submitSwapcurrently uses legacy/withdrawroute, while UTXO swap helpers use/transact_swap.