Skip to main content
Use the useCreateSession hook to create a session key for the connected Abstract Global Wallet.

Import

Usage

Returns

function
Function to create a session key. Returns a Promise that resolves to the created session configuration.
function
Async mutation function to create a session key for async await syntax.
boolean
Whether the session creation is in progress.
boolean
Whether the session creation resulted in an error.
Error | null
Error object if the session creation failed.