useCreateSessionKey
Create and add a session key for the smart wallet account
Mutation object to create and add a session key for the smart wallet
The mutation function takes an object with the following properties as argument:
The address to add as an admin on the account as a string
.
An array of addresses that the session key can call as a string[]
.
The maximum amount of native token (in ETH) that the session key can spend per transaction as a number
.
The date when the session key becomes active as a Date
.
The date when the session key expires as a Date
.