# Historical

{% 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!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://v1.etherspot.io/use-cases/transactions/historical.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
