Actalink Docs
Hooks

useNonceKeys Hook

Hook to fetch list of unused validators from paymaster. The more the number of unused validators, the more operations a user can schedule.

Import

import { useNonceKeys } from "@actalink/react-hooks";

Usage

import { useNonceKeys, type BodyType } from "@actalink/react-hooks";
import { config } from "../wagmi"; // import wagmi config
 
const Home: NextPage = () => {
  const { getPendingNonceKeys } = useNonceKeys();
  return()
}

Returns

ValueReturn TypeDefinition
getPendingNonceKeysFunction to fetch the list of unused validators.

On this page