Skip to content
Alchemy Logo

SmartAccountAuthenticator

Defined in: aa-sdk/core/src/signer/types.ts:18

Extends the SmartAccountSigner interface with authentication.

Type ParameterDefault typeDescription

AuthParams

the generic type of the authentication parameters

AuthDetails

the generic type of the authentication details

Inner

any

the generic type of the inner client that the signer wraps to provide functionality such as signing, etc.

PropertyType

authenticate

(params) => Promise<AuthDetails>

getAddress

() => Promise<`0x${string}`>

getAuthDetails

() => Promise<AuthDetails>

inner

Inner

signAuthorization?

(unsignedAuthorization) => Promise<SignedAuthorization<number>>

signerType

string

signMessage

(message) => Promise<`0x${string}`>

signTypedData

<TTypedData, TPrimaryType>(params) => Promise<`0x${string}`>

Was this page helpful?