function isSmartAccountClient<TTransport, TChain, TAccount>(
client,
): client is SmartAccountClient<TTransport, TChain, TAccount>;Defined in: aa-sdk/core/src/client/isSmartAccountClient.ts:17
Use this method to assert that a client is a BaseSmartAccountClient. Useful for narrowing the type of the client down when used within the smart account client decorators
| Type Parameter | Default type |
|---|---|
| |
|
|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| a viem client |
client is SmartAccountClient<TTransport, TChain, TAccount>
true if the client is a SmartAccountClient