Skip to Content
API referenceComponentssignMiniSession()

@tuwaio/quasar-sdk


signMiniSession()

signMiniSession(params): Promise<SignSessionResult>

Defined in: packages/quasar-sdk/src/utils/auth.ts:59 

Triggers a signature request in the connected wallet to create a Mini-Session.

This function detects the signer’s capabilities and uses the most appropriate signing method available (e.g., Web3 v2, Standard, or Legacy).

Parameters

params

SignSessionParams

Parameters containing the signer and target ecosystem.

Returns

Promise<SignSessionResult>

A promise resolving to the signature and timestamp.

Throws

If signing fails or the signer lacks required methods.

Last updated on