SmartAccountAuthenticator

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

Extends the SmartAccountSigner interface with authentication.

Extends

Type Parameters

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.

Properties

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}`>