Pull token flows for a specific day
Fetch date-bounded token and protocol activity from logs without standing up an indexer. Use the result as evidence or eval input.
Goal
Pull decoded token transfers for one UTC window without standing up an indexer. The result keeps the block bounds beside each row so a later review or eval can see exactly what range was scanned.
When to use this
Use this for transfers, inflows, outflows, whale activity, policy evidence, or accounting data from logs when a bounded RPC scan is enough.
Inputs to change
$transportselects the RPC endpoint.- The token address is the PENDLE ERC-20 contract.
- The UTC start and end timestamps are hardcoded in the two
block_atcalls. - The event signature is
Transfer(address indexed from, address indexed to, uint256 value). format_units(value, 18)assumes the token has 18 decimals.
What the query does
resolve UTC window -> find inclusive block bounds -> pull logs -> decode fields -> return ordered rows
Query
Notebook ready in readonly mode.
Read the output
Each row is one decoded transfer log. from_block and to_block repeat on every row so exported results preserve the scan bounds.
from_block | to_block | block_number | transaction_hash | from | to | pendle_amount
-----------|----------|--------------|------------------|------|----|--------------
... | ... | ... | 0x... | ... | ...| ...