> For the complete documentation index, see [llms.txt](https://v1.etherspot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v1.etherspot.io/use-cases/transactions/historical.md).

# Historical

Reading transactions using Etherspot

{% hint style="success" %}
Before we continue, please ensure that you have had a look at our [Supported Ethereum Chains](broken://pages/-MeAyzR2e2VKsOneDqAi), followed the steps in [Install Etherspot SDK](/getting-started/install-sdk.md) and how to [Bootstrap Etherspot SDK](/getting-started/bootstrap-etherspot-sdk.md). We're assuming that you have completed these steps before going forward.
{% endhint %}

## Getting started

The Etherspot SDK makes it really easy for you to send a transaction on any of our [Supported Ethereum Chains](broken://pages/-MeAyzR2e2VKsOneDqAi). The method call is the same for each chain.

## Fetching historical transactions

Fetching transactions using the Etherspot SDK is easy. Just call the `getTransactions` method against the Etherspot SDK instance to fetch all transactions on the account. This is the same method across all chains on the Etherspot SDK.

```typescript
const transactions = await sdk.getTransactions();

console.log('Transactions:', transactions);
```

:zap: [Try this out now on Etherspot Playground](https://try.etherspot.dev/#GetTransactions).

## Fetching a single transaction

Along with fetching all transactions above, you can also simply fetch a single transaction by hash and the data associated with that transaction. This is the same method across all chains on the Etherspot SDK.

```typescript
const singleTransaction = await sdk.getTransaction({
  hash: null, // Replace null with your transaction hash
});

console.log('Transaction:', singleTransaction);
```

:zap: [Try this out now on Etherspot Playground](https://try.etherspot.dev/#GetTransaction).

## :tada: Finished!
