Skip to content

Commit

Permalink
update is-wallet-a-smart-wallet doc
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 11, 2024
1 parent bfa1b2d commit 25775a6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions site/docs/pages/wallet/is-wallet-a-smart-wallet.mdx
Original file line number Diff line number Diff line change
@@ -4,9 +4,7 @@ The `isWalletASmartWallet` utility is designed to verify if a given sender addre

## Usage

:::code-group

```tsx [code]
```tsx
import { isWalletASmartWallet } from '@coinbase/onchainkit/wallet';
import { http } from 'viem';
import { baseSepolia } from 'viem/chains';
@@ -27,12 +25,6 @@ if (isWalletASmartWallet({ client: publicClient, userOp: userOperation })) {
}
```

```ts [return value]
true;
```

:::

## Returns

[`IsWalletASmartWalletResponse`](/wallet/types#iswalletasmartwalletresponse)

0 comments on commit 25775a6

Please sign in to comment.