Intro

You can fetch the historical transactions for any blockchain address that belongs to the Etherspot ecosystem.

How to use

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.