For the complete documentation index, see llms.txt. This page is also available as Markdown.

getCapabilities

Extracts the capabilities supported by the connected wallet, grouped by chain ID. This includes features like atomic batching, paymaster services, and permissions.

const capabilities = await smartAccountClient.getCapabilities()

Returns

A JSON object detailing the wallet’s supported capabilities per chain.

{
  "0x8453": {
    "atomicBatch": {
      "supported": true
    },
    "paymasterService": {
      "supported": true
    },
    "permissions": {
      "supported": true,
      "signerTypes": ["account"],
      "permissionTypes": ["sudo", "contract-call"]
    }
  }
}

Last updated