Get the capabilities of a wallet based on the EIP-5792 specification.
import { getCapabilities } from "thirdweb/wallets/eip5792"; const wallet = createWallet("com.coinbase.wallet");const capabilities = await getCapabilities({ wallet });
function getCapabilities( options: GetCapabilitiesOptions<ID>,): Promise<GetCapabilitiesResult>;
let options: GetCapabilitiesOptions<ID>;
let returnType: Promise<GetCapabilitiesResult>;
A promise that resolves to the capabilities of the wallet based on the EIP-5792 spec.