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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain, Account> | The client to use to authorize the session key. |
options | OptionsType | login.OptionsType |
Returns
Section titled “Returns”Promise<`0x${string}`>
The transaction hash login.OutputType
Throws
Section titled “Throws”Errors login.ErrorType