useGrantPermission
This hook provides functionality to asynchronously grant permissions and monitor the status of the transaction.
Returns:
type GrantPermissionMutateResponse = {
txHash: Hash;
createSessionsResponse: GrantPermissionResponse;
};Explanation:
Usage Example:
How It Works:
Example of Expected Response:
Error Handling:
Mutation Props (mutationProps):
Last updated