# Fetch Transactions

**Introduction**

Retrieving transaction data is crucial when dealing with NFTs and smart contracts. The Certhis SDK simplifies the process of fetching transactions, allowing you to access transaction information effortlessly. In this guide, we'll explore how to fetch transactions using the Certhis SDK.

Get Label Transaction object by label\_index

```javascript
await Certhis.transaction.label(label_index);
```

Get User Transaction object by wallet\_address

```javascript
await Certhis.transaction.user(wallet_address);
```

Get Collection Transaction object by collection\_index

```javascript
await Certhis.transaction.collection(collection_index);
```

Get NFT Transaction object by nft\_id and collection\_address

```javascript
await Certhis.transaction.nft(nft_id, collection_address, chain_id, offset_id);
```

For more details and advanced usage, refer to the [Certhis SDK GitHub repository](https://github.com/certhis/Certhis-SDK).


---

# 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://docs.certhis.io/certhis-sdk/fetch-transactions.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.
