Skip to main content
This hook uses the session key signature (4-element format) instead of the owner signature. The session must be registered on-chain first via useAddSessionKeyToContract.

Usage

Parameters

Call Structure

Return Value

Example: Token Transfer

Example: Gaming Actions

Multi-Call Transactions

Execute multiple calls in a single transaction:

Error Handling

Session transactions decrement remainingCalls on the contract. Monitor usage with useGetSessionData and create new sessions before exhaustion.
For the best UX, pre-create sessions during onboarding and store the PIN securely. This allows instant transactions without prompting for PIN each time.