Anza Solana Kit Types
The SDK is built on top of@solana/kit and shares its core types directly. You do not need to import @solana/kit yourself - these types flow through the SDK’s own types naturally - but it helps to know where they come from:
Address- a base58-encoded public key string. Everymint,destinationAddress, anduserAddressparameter in the SDK is anAddress.TransactionSignature- a base58-encoded signature string. Returned by every operation that submits a transaction.SignableTransaction/SignedTransaction- the versioned transaction types passed toIUmbraSigner.signTransaction.GetLatestBlockhash,GetEpochInfo- RPC function types used in thedepsof most factory functions.
@solana/kit documentation is the primary reference for these types.
Function Types
Every returned function has a named type exported from@umbra-privacy/sdk/interfaces. Store functions in state, type React context values, or annotate variables without re-running the factory: