useCapabilities

A hook to get the current wallet's capabilities according to EIP-5792 .

Example

import { useCapabilities } from "thirdweb/react";
const { data: capabilities, isLoading } = useCapabilities();

Parameters

Returns

a React Query object.