GET
/
tokens
/
{hash}
/
transfers
Token Transfers - By Token Address
curl --request GET \
  --url https://api.amberdata.com/blockchains/tokens/{hash}/transfers \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "totalRecords": 69918,
    "records": [
      {
        "transactionHash": "0x281d6478dee6d20da7e9293991cc68085532a915760f23d77ffa9923edb523de",
        "blockHash": "0x5b24ad74b3b6b7adb83e0ba4996726db5b91392a925bb54462c1d9833e921a4f",
        "blockNumber": "7252428",
        "tokenAddress": "0x26fb86579e371c7aedc461b2ddef0a8628c93d3b",
        "amount": "20000000000000000000",
        "timestamp": 1550825454000,
        "timestampNanoseconds": 0,
        "logIndex": 163,
        "blockchainId": "1c9c969065fcd1cf",
        "to": [
          "0x06012c8cf97bead5deae237070f9587f8e7a266d"
        ],
        "from": "0x41efb7f2fa8e27a5c089082e8a61f15f748f7e0b",
        "decimals": "18",
        "name": "BORA",
        "symbol": "BORA",
        "isERC20": true,
        "isERC721": false,
        "isERC777": false,
        "isERC884": false,
        "isERC998": false
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Headers

x-amberdata-blockchain-id
enum<string>
default:ethereum-mainnet

The id of the blockchain

Available options:
ethereum-mainnet,
polygon-mainnet

Path Parameters

hash
string
default:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
required

The address to retrieve the token transfers for. (example is USDC)

Query Parameters

amount
integer

Filter by token transfers which value is equal to this amount.

amountGt
integer

Filter by token transfers which value is greater than this amount.

amountGte
integer

Filter by token transfers which value is greater than or equal to this amount.

amountLt
integer

Filter by token transfers which value is less than this amount.

amountLte
integer

Filter by token transfers which value is less than or equal to this amount

blockNumber
integer

Filter by token transfers with this block number.

decodeTransactions
boolean
default:false

Decodes transactions input via known ABIs.

startDate
string<date-time>

Filter by token transfers which happened after this date.

endDate
string<date-time>

Filter by token transfers which happened before this date.

tokenAddress
string

Filter by token transfers for this token.

transactionHash
string

Filter by token transfers for this transaction hash.

validationMethod
string

The validation method to be added to the response: none, basic, full. Default: none. <a href="https://docs.amberdata.io/reference#section-validation-method">More Details.</a>

includePrice
boolean

Indicates whether or not to include price data with the results. Options: true, false. <a href="https://docs.amberdata.io/reference#section-include-price">More Details.</a>

currency
string

The currency of the price information. Options: usd, btc. Only used in conjunction with includePrice. <a href="https://docs.amberdata.io/reference#section-currency">More Details.</a>

page
integer
default:0

The page number to return.

size
integer
default:50

Number of records per page.

direction
string

The order in which to return the results (ascending or descending). By default, records are returned in descending order, so the most recent records are returned first.

timeFormat
string
default:iso

[Optional] Time format of the timestamps in the return payload.<BR/>[Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200
application/json

200

The response is of type object.