Ink event logs
ink_logsRecent contract event logs on Ink (eth_getLogs): the events a contract emitted over the last N blocks (1-1,000, default 50), optionally filtered by topic0 (the 0x 32-byte event signature hash). Returns up to 100 logs with block, transaction hash and topics. Use to watch transfers or contract events; for one transaction's outcome use ink_receipt. Example: address=0xF1815bd50389c46847f0Bda824eC8da914045D14. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blocks | No | How many recent blocks to scan (1-1000, default 50) | |
| topic0 | No | Optional 0x event signature hash to filter by | |
| address | Yes | 0x contract address |