Api Endpoint

evm-event-logs

Read a contract's recent event logs on an EVM network over a bounded block window and decode them. Logs are decoded from an event signature you supply, or from the contract's verified ABI, or by resolving the topic to a name via 4byte. Raw logs are always returned; decoded fields are added where possible.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/evm/logs
MIME type
application/json
First seen
2026-10-16T02:01:07.550Z
Last seen
Tags
EVM, event-logs, logs, getlogs, decode, Events, topic, Base, Ethereum, Arbitrum, optimism, Polygon

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
403 ms
Average latency
1041 ms
HTTP status
402
Last checked
Reachability
100% over 10 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "Contract address, 0x + 40 hex"
        },
        "network": {
          "type": "string",
          "enum": [
            "base",
            "ethereum",
            "arbitrum",
            "optimism",
            "polygon",
            "bnb"
          ],
          "description": "EVM network (default base)"
        },
        "signature": {
          "type": "string",
          "description": "Event signature to filter and decode by, e.g. Transfer(address,address,uint256)"
        },
        "topic0": {
          "type": "string",
          "description": "Event topic0 hash to filter by (alternative to signature), 0x + 64 hex"
        },
        "blocks": {
          "type": "integer",
          "minimum": 1,
          "maximum": 10000,
          "description": "Look-back window in blocks (default 2000)"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 200,
          "description": "Max decoded logs to return (default 200)"
        }
      },
      "required": [
        "address"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "address"
          ],
          "properties": {
            "limit": {
              "type": "integer",
              "maximum": 200,
              "minimum": 1,
              "description": "Max decoded logs to return (default 200)"
            },
            "blocks": {
              "type": "integer",
              "maximum": 10000,
              "minimum": 1,
              "description": "Look-back window in blocks (default 2000)"
            },
            "topic0": {
              "type": "string",
              "description": "Event topic0 hash to filter by (alternative to signature), 0x + 64 hex"
            },
            "address": {
              "type": "string",
              "description": "Contract address, 0x + 40 hex"
            },
            "network": {
              "enum": [
                "base",
                "ethereum",
                "arbitrum",
                "optimism",
                "polygon",
                "bnb"
              ],
              "type": "string",
              "description": "EVM network (default base)"
            },
            "signature": {
              "type": "string",
              "description": "Event signature to filter and decode by, e.g. Transfer(address,address,uint256)"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}