Skip to content

login

login(client, options): Promise<`0x${string}`>

Defined in: packages/synapse-core/src/session-key/login.ts:50

Authorize a session key with permissions until expiry.

Parameter Type Description
client Client<Transport, Chain, Account> The client to use to authorize the session key.
options OptionsType login.OptionsType

Promise<`0x${string}`>

The transaction hash login.OutputType

Errors login.ErrorType