Skip to main content
Import from @voiz-digital/markets-sdk/react. Pass sendCalls for AA. After that, screens only need const { client } = useVoiz().

Provider

VoizProvider

Builds a memoized VoizMarketsClient from chain, clients, and an optional custom sender, and puts it in React context.

VoizProviderProps

Hook

useVoiz

Full Voiz React context. Throws if used outside <VoizProvider>. Prefer const { client } = useVoiz() for protocol reads and writes.
addresses is the live ChainAddresses map — not Uniswap v4 managers:

Context types

VoizContextValue

VoizSendCalls

Alias of the SDK SendCalls type for React injection.

SendCallsOptions

Options for injected AA / Privy senders (also re-exported from React).

Next

Helpers