Filter logs by various criteria
API key for authentication
The blockchain network to query
polygon "polygon"
Maximum number of results (1-50)
1 <= x <= 50Number of results to skip for pagination
x >= 0Request body for filtering logs. Validation rules: (1) Must provide either block range OR datetime range, not both and not neither. (2) When using block range, both from_block AND to_block are required. (3) When using datetime range, both from_datetime AND to_datetime are required. (4) to_block must be >= from_block. (5) to_datetime must be >= from_datetime. (6) Block range cannot exceed 100 blocks.
Start block number. Required if using block range.
x >= 0End block number. Required if using block range. Must be >= from_block and within 100 blocks.
x >= 0Start datetime (ISO 8601, timezone required, e.g., 2024-01-15T10:30:00Z or 2024-01-15T10:30:00+00:00). Required if using datetime range.
End datetime (ISO 8601, timezone required, e.g., 2024-01-15T10:30:00Z or 2024-01-15T10:30:00+00:00). Required if using datetime range. Must be >= from_datetime.
Contract address(es) to filter by (optional, max 10 addresses)
Event signature hash(es) to filter by (optional, max 10). This filters against the first topic (topic1) in each log, which contains the keccak256 hash of the event signature. For example, the ERC-20 Transfer event signature hash is 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.