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 });
function getCapabilities(
options: GetCapabilitiesOptions<ID>,

Parameters

Type

let options: GetCapabilitiesOptions<ID>;

Returns

let returnType: Prettify<
>;
  • A promise that resolves to the capabilities of the wallet based on the EIP-5792 spec.