useWallet
Access wallet connection state and actions from any component withinSpiceFlowProvider.
Usage
Return Value
useSpiceBalance
Fetch and manage Spice vault balances for a user. Returns structured balance data.Usage
Config
Return Value
useSpiceAssets
Fetch deposited assets as an array. Useful for building custom asset selectors.Usage
Config
Return Value
useAssets
Fetch and manage user assets across multiple chains from external wallets.Usage
Config
Return Value
useStatus
Track the status of cross-chain transaction execution.Usage
Return Value
useFromInput
Control the “from” asset input in swap UIs.Usage
Return Value
useToInputUpdate
Control the “to” asset input in swap UIs.Usage
Return Value
useDepositInput
Control deposit amount input state.Usage
Return Value
useEmbeddedWalletAddress
Get the Privy embedded wallet address.Usage
Return Value
Returnsstring | undefined — the embedded wallet address if available.
