Typed reference for the Zcash API exposed by the Noir Wallet SDK.
All methods are available on wallet.zcash. Detecting the provider does not connect an account or
open the wallet.
import { getNoirWallet } from '@noir-wallet/sdk'
const wallet = getNoirWallet()
if (!wallet) throw new Error('Noir Wallet is not installed')Connect, read addresses, balances, and send limits.
Send ZEC, shield funds, and read transaction history.
Read public identities and request message signatures.
Handle account changes, disconnects, and errors.
Call getAccounts() silently during startup. Only call connect() after a deliberate user
action.
Account reads do not open approval windows. connect() is the exception: it always lets the user
review the accounts shared with your site.
Transaction methods operate on the active authorized account. Sending and shielding always require the user to approve the action in Noir Wallet.
The default signing mode is current. Use derived for a privacy-preserving identity that is not
the main transparent address. legacy_index0 exists for integrations that require the legacy
BIP-44 index 0 identity.
Identity methods are not supported for Keystone accounts. Keystone's Zcash flow signs transactions, not arbitrary messages.