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
options
The mutation function takes an object with the following properties as argument:
address
The address to add as an admin on the account as a string
.
approvedCallTargets
An array of addresses that the session key can call as a string[]
.
nativeTokenLimitPerTransaction
The maximum amount of native token (in ETH) that the session key can spend per transaction as a number
.
startDate
The date when the session key becomes active as a Date
.
startDate
The date when the session key expires as a Date
.