---
title: "Historical User Transactions"
method: GET
path: "/defi/v1/fungibletoken/historicalusertransactions"
tags: ["fungibletoken"]
---

# Historical User Transactions

`GET /defi/v1/fungibletoken/historicalusertransactions`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/fungibletoken/historicalusertransactions`
- Auth: API key in header `X-API-Key`

Retrieves all the ERC-20 transfers for the given address.

> 💡 
**Compute Unit Value:** `115` (Fixed)

## Query parameters

- `chainId` '1' | '137' | '56' | '25' | '10' | '250' | '43114' | '42161' | '8453': The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
- `chainSymbol` string: The abbreviated chain name for queries or transactions.
- `address` string, required: Public address of the user.
- `tokenAddress` string, required: ERC-20 token address.
- `startBlock` string: The starting block number of the range.
- `endBlock` string: The ending block number of the range.
- `pageSize` string: Number of transactions to fetch per page.
- `pageToken` string: Pagination token to retrieve the next page of results.
- `sortOrder` 'desc' | 'asc': Asc or desc. Defaults to asc.
- `fromTimestamp` string: Start time (in seconds) for filtering transactions. If both fromTimestamp and startBlock are provided, startBlock takes precedence.
- `toTimestamp` string: End time (in seconds) for filtering transactions. If both toTimestamp and endBlock are provided, endBlock takes precedence.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
