fungibletoken

Historical Transactions

Provides a detailed history of ERC-20 token transfer transactions associated with a specific user address within a defined block range. It is designed for wallet-related data analytics, enabling users and developers to review past token movements, monitor account activity, and perform transaction audits.

💡 Compute Unit Value: 195 (Fixed)

get/defi/v1/fungibletoken/historicaltransactions

Request

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

Query parameters

chainId'1'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
addressstring

The public address of the user for which transfers are being queried.

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH
startBlockstring

The starting block of the range. By default, latestBlock - 100.

Example:100000
endBlockstring

The ending block of the range. By default, latestBlock.

Example:100010
pagestring

The page number to fetch. By default, 1.

Example:1
sort'desc' | 'asc'

Sorting order: asc for ascending, desc for descending. By default, desc.

Example:desc
tokenAddressstring required

The address of the ERC-20 token whose transfers are to be retrieved.

Example:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "transactions": [
      {
        "blockNumber": "18968825",
        "timeStamp": "1704796271",
        "hash": "0x6df96285db80a5c1792a056bf9f38c63e9f250572c2f5afac945bcf996a145e5",
        "nonce": "21",
        "blockHash": "0xe8cf4dda5e648b707ff2837741708176122cb2196559c20c8618debf8c991997",
        "from": "0x3f2488a54c8b397525ff85ce5d32ac5f27dd8ce5",
        "contractAddress": "0x6b175474e89094c44da98b954eedeac495271d0f",
        "to": "0x1715a3e4a142d8b698131108995174f37aeba10d",
        "value": "193485657300000000000",
        "tokenName": "Dai Stablecoin",
        "tokenSymbol": "DAI",
        "tokenDecimal": "18",
        "transactionIndex": "114",
        "gas": "216896",
        "gasPrice": "12898560151",
        "gasUsed": "189283",
        "cumulativeGasUsed": "10458631",
        "input": "deprecated",
        "confirmations": "67",
        "methodId": "0xad58bdd1",
        "methodSignature": "relayTokens(address,address,uint256)"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.