Skip to content

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.

ParameterTypeDescription
clientClient<Transport, Chain, Account>The client to use to authorize the session key.
optionsOptionsTypelogin.OptionsType

Promise<`0x${string}`>

The transaction hash login.OutputType

Errors login.ErrorType