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 for retrieving the currently selected wallet
useWallet
useClient
import { useWallet } from "@getpara/react-native-wallet";
import { useWallet, useClient } from "@getpara/react-native-wallet"; import { View, Text } from "react-native"; function WalletInfo() { const { data: wallet } = useWallet(); const client = useClient(); if (!wallet) return <Text>No wallet</Text>; const address = client?.getDisplayAddress(wallet.id, { addressType: "EVM" }); return ( <View> <Text>Wallet ID: {wallet.id}</Text> <Text>Address: {address}</Text> </View> ); }