function getCapabilities(client, params?): Promise<GetCapabilitiesResult>;Defined in: packages/wallet-apis/src/actions/getCapabilities.ts:31
Gets the capabilities supported by the wallet for the given account.
Delegates to viem's getCapabilities and renames paymasterService
to paymaster for consistency with the SDK's public API.
const capabilities = await client.getCapabilities({
account: "0x1234...",
});
// { paymaster: { supported: true }, atomic: { status: "supported" } }| Parameter | Type | Description |
|---|---|---|
|
| The wallet API client to use for the request |
| Optional parameters |
Promise<GetCapabilitiesResult>
The capabilities for the given chain