AlchemyServerSigner
Defined in: account-kit/signer/src/serverSigner.ts:31
AlchemyServerSigner is a signer that can sign messages and typed data using an access key. It extends the SmartAccountSigner interface and uses the ServerSignerClient to sign requests. Primarily intended to be used server-side.
Implements
SmartAccountSigner
Constructors
Constructor
Defined in: account-kit/signer/src/serverSigner.ts:40
Creates an instance of AlchemyServerSigner.
Parameters
Returns
AlchemyServerSigner
Properties
Methods
getAddress()
Defined in: account-kit/signer/src/serverSigner.ts:50
Gets the address of the user from the signer client.
Returns
Promise
<`0x${string}`
>
The address of the user
Throws
If the user cannot be retrieved from the signer client
Implementation of
signAuthorization()
Defined in: account-kit/signer/src/serverSigner.ts:86
Signs an authorization using the inner client.
Parameters
Returns
Promise
<SignedAuthorization
<number
>>
The signed authorization
Implementation of
signMessage()
Defined in: account-kit/signer/src/serverSigner.ts:61
Signs a message using the inner client.
Parameters
Returns
Promise
<`0x${string}`
>
The signed message
Implementation of
signTypedData()
Defined in: account-kit/signer/src/serverSigner.ts:72
Signs typed data using the inner client.
Type Parameters
Parameters
Returns
Promise
<`0x${string}`
>
The signed typed data
Implementation of
toSolanaSigner()
Defined in: account-kit/signer/src/serverSigner.ts:122
Creates a new instance of SolanaSigner
using the inner client.
Example
Returns
A new instance of SolanaSigner