Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook that polls until wallet creation is complete
useWaitForWalletCreation
useWaitForSignup
import { useWaitForWalletCreation } from "@getpara/react-native-wallet";
import { useWaitForWalletCreation } from "@getpara/react-native-wallet"; function WaitingForWallet() { const { waitForWalletCreationAsync, isPending } = useWaitForWalletCreation(); const handleWait = async () => { try { const result = await waitForWalletCreationAsync({}); console.log("Wallet IDs:", result.walletIds); } catch (err) { console.error(err); } }; return <Button title={isPending ? "Creating wallets..." : "Check Wallet Status"} onPress={handleWait} disabled={isPending} />; }