Skip to content

Commit

Permalink
update is-valid-aa-entrypoint doc
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 11, 2024
1 parent 407cfd5 commit bfa1b2d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions site/docs/pages/wallet/is-valid-aa-entrypoint.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ The `isValidAAEntrypoint` utility is designed to verify the Account-Abstraction

## Usage

:::code-group

```tsx [code]
```tsx
import { isValidAAEntrypoint } from '@coinbase/onchainkit/wallet';

const AAImplementationAddress = '0x123`;
Expand All @@ -19,12 +17,6 @@ if (isValid) {
}
```

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

:::

## Returns

`boolean` - Returns `true` if the account abstraction entrypoint address is v06, otherwise `false`.
Expand Down

0 comments on commit bfa1b2d

Please sign in to comment.