getCapabilities

Get the capabilities of a wallet based on the EIP-5792 specification.

Example

import { getCapabilities } from "thirdweb/wallets/eip5792";
const wallet = createWallet("com.coinbase.wallet");
const capabilities = await getCapabilities({ wallet });

Parameters

Returns

  • A promise that resolves to the capabilities of the wallet based on the EIP-5792 spec.