> ## Documentation Index
> Fetch the complete documentation index at: https://etherspot.fyi/llms.txt
> Use this file to discover all available pages before exploring further.

# getAccountTransactions()

## Intro

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

## How to use

```javascript theme={null}
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.
```
