useCreateSession hook to create a session key for the connected Abstract Global Wallet.
Import
Usage
Returns
Function to create a session key. Returns a Promise that resolves to the created session configuration.
Async mutation function to create a session key for
async await syntax.Whether the session creation is in progress.
Whether the session creation resulted in an error.
Error object if the session creation failed.