Native Token Transfers

Track transfers of native blockchain tokens (ETH, MATIC, BNB, AVAX, etc.).

Endpoint: GET /v1/native_token/events/transfer

Supported Networks: ETH, POLYGON, BASE, OP, ARB

Parameters:

ParameterTypeRequiredDescription
min_amountnumberNoMinimum amount (in native units, e.g., ETH)
max_amountnumberNoMaximum amount (0 = no limit)
senderstringNoFilter by sender address
receiverstringNoFilter by receiver address
involvingstringNoFilter by address involved as either sender OR receiver. Mutually exclusive with sender and receiver.
involving_labelstringNoFilter where any address matches a label substring (e.g., Binance). Mutually exclusive with involving, `sender,receiver`.
involving_categorystringNoFilter where any address matches a category (e.g., exchange). Mutually exclusive with involving, `sender,receiver`.
sender_labelstringNoFilter sender by label substring. Mutually exclusive with sender, sender_category, `involving`.*
sender_categorystringNoFilter sender by category. Mutually exclusive with sender, sender_label, `involving`.*
receiver_labelstringNoFilter receiver by label substring. Mutually exclusive with receiver, receiver_category, `involving`.*
receiver_categorystringNoFilter receiver by category. Mutually exclusive with receiver, receiver_label, `involving`.*

Example Data:

block_numbertokensenderreceiveramounttime
24000000ETH0x4634…f7580xf584…d62179.4652025-12-13T00:06:11Z
24000000ETH0x44fd…023a0x0000…03952.3672025-12-13T00:06:11Z
24000000ETH0xda79…88610x356e…54aa1.952025-12-13T00:06:11Z
24000000ETH0x21a3…05490xcaf9…f024.992025-12-13T00:06:11Z
24000001ETH0x8350…fa960x3906…437ed3.422025-12-13T00:06:23Z

Example: Track large ETH transfers

curl -H "X-API-Key: $API_KEY" 
  "https://api.defistream.dev/v1/native_token/events/transfer?network=ETH&block_start=24000000&block_end=24010000&min_amount=100"

Example: Track ETH transfers FROM Binance or Coinbase

curl -H "X-API-Key: $API_KEY" 
  "https://api.defistream.dev/v1/native_token/events/transfer?network=ETH&block_start=24000000&block_end=24010000&sender_label=Binance,Coinbase"

Aggregate Queries

Bucket native token transfer events into time or block intervals with summary statistics.

Endpoint: GET /v1/native_token/events/transfer/aggregate

Requires group_by (time or block_number) and period (e.g., 2h, 1d, 10000).

Aggregated columns: agg_amount (sum of transfer amounts), count (number of transfers)

Example: Hourly ETH transfer volume

curl -H "X-API-Key: $API_KEY" 
  "https://api.defistream.dev/v1/native_token/events/transfer/aggregate?network=ETH&block_start=21000000&block_end=21100000&group_by=time&period=1h"

Sample Aggregate Results:

time_starttime_endagg_amountcount
2024-11-08T00:00:00Z2024-11-08T01:00:00Z12485.733842
2024-11-08T01:00:00Z2024-11-08T02:00:00Z9821.463215
2024-11-08T02:00:00Z2024-11-08T03:00:00Z8294.182876
2024-11-08T03:00:00Z2024-11-08T04:00:00Z7563.922641
2024-11-08T04:00:00Z2024-11-08T05:00:00Z10742.353398

Quota & Limits

Native Token endpoints use a block-based quota model. Cost formula: max(100, round(block_range × network_discount × aggregate_discount)).

FormatMax time rangeMax block rangeQuota cost
JSON7 days10,000block_range (min 100)
CSV / Parquet7 days1,000,000block_range (min 100)
CSV / Parquet (ARB)7 days10,000,000block_range × 0.2 (min 100)
Aggregate7 dayssame as aboveblock_range × 0.5 (min 100)

Check response headers X-RateLimit-Remaining and X-Request-Cost to monitor usage.