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.
Assistant
Responses are generated using AI and may contain mistakes.
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.
Assistant
Responses are generated using AI and may contain mistakes.