Hooks
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
import {
useEtherspotHistory,
} from '@etherspot/transaction-kit';
// Later in the main component function...
const { getAccountTransactions } = useEtherspotHistory();
// And when you're ready to fetch your transaction history...
const accountTransactionHistory = await getAccountTransactions(); // This is also a Promise
// accountTransactionHistory will now contain an array of history objects.
