crypto

Base contract event logs

Query validated eth_getLogs events from one Base mainnet contract using a required event signature and optional indexed topic filters across a bounded resolved block range.

Price: $0.003 USDC via x402 exact payment on Base and Solana.

post/v1/crypto/base-event-logs

Request

  • Base URL: https://apiacre.com
  • URL: https://apiacre.com/v1/crypto/base-event-logs
  • Auth: none required

Request body

contractstring required

The 20-byte Base mainnet contract whose event logs are queried

topicsstring[] required

One required event-signature topic followed by optional indexed topic values or null wildcards. Signature-only scans are limited to 100 resolved blocks; adding an indexed value permits up to 2,000.

lookback_blocksinteger

Inclusive resolved Base blocks to scan; defaults to the 100-block signature-only ceiling and may be raised to 2,000 with an indexed topic value

limitinteger

Maximum newest-first validated logs returned

block_tag'latest' | 'safe' | 'finalized'

Base block tag resolved once as the inclusive upper bound

Example request

{
  "topics": [
    "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
  ]
}

Response

Successful Response

request_idstring required
servicestring required
versionstring
dataobject required

Changes

No recorded changes to this operation across all 1 revision of this API.