Skip to main content
Install @getpara/aa-alchemy and import this hook from the React SDK root. The full @getpara/react-sdk package re-exports it.

Import

Supports EIP-4337 and EIP-7702 modes through Alchemy Account Kit. React Native also publishes the named hook from @getpara/react-native-wallet/aa/alchemy.

Configuration fields

Required apiKey and chain. Optional rpcUrl, address, walletId, signer, mode (‘4337’ or ‘7702’), gasPolicyId, and enabled. The hook receives the configuration directly; Para obtains its client from provider context. The hook returns immediately; do not await it. Read smartAccount when the query succeeds, and use the SmartAccount contract for the returned account’s methods. Account creation runs only when the Para client is available, a session or external signer is ready, and enabled is true.