Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getpara.com/llms.txt

Use this file to discover all available pages before exploring further.

The useClient hook returns the Para client instance provided to ParaProvider. Use it to call any method on the client directly, such as getDisplayAddress or supportedWalletTypes.

Import

import { useClient } from "@getpara/react-native-wallet";

Usage

import { useClient, useWallet } from "@getpara/react-native-wallet";
import { View, Text } from "react-native";

function WalletAddress() {
  const client = useClient();
  const { data: wallet } = useWallet();

  if (!client || !wallet) return null;

  const evmAddress = client.getDisplayAddress(wallet.id, { addressType: "EVM" });

  return <Text>Address: {evmAddress}</Text>;
}