Chain Events
by api.axiomworks.co.uk in Onchain & crypto
Contract event logs via eth_getLogs filtered by contract and topics (topic0 = event signature hash). Raw logs, newest first; default last 1000 blocks, max 5000. Example: {address:"0x8335…2913", topic0:"0xddf2…b3ef", chain:"base", blocks:"50"}. $0.003.
https://api.axiomworks.co.uk/chain/events- Price
- $0.003
- per call in USDC
- Uptime
- 55.2%
- last 30 days
- Response time
- 43 ms
- 663 ms slowest 5%
- Last check
- Failed
- 4 days ago, next any minute now
Reliability
Latest check failed 4 days ago: Connection failed (ENOTFOUND)
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://api.axiomworks.co.uk/chain/events
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://api.axiomworks.co.uk/chain/events?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&blocks=20&chain=base&limit=5&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Contract emitting the logs |
blocks | string | No | |
chain | string | No | EVM chain (default base) One of: base, ethereum, arbitrum, optimism, polygon. |
from_block | string | No | |
limit | string | No | |
to_block | string | No | |
topic0 | string | No | Event signature hash (0x + 64 hex) |
topic1 | string | No | |
topic2 | string | No | |
topic3 | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 32 lines
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"chain": "base",
"chain_id": 8453,
"count": 5,
"from_block": 53552063,
"logs": [
{
"block": 53552083,
"data": "0x0000000000000000000000000000000000000000000000000000000e0c934839",
"log_index": 1539,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000001a91463eb4ce91d85c612b0c35fdab9460c5d2b7"
],
"tx": "0xdd032a65fa47b2c9f1390184d67a0cb03c2bc6eae3d18fbf5c6cdc5ff8fcdff5"
},
{
"block": 53552083,
"data": "0x00000000000000000000000000000000000000000000000000000007f44dcf59",
"log_index": 1506,
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000130a401047aed3c56d0fe2669b8c9b42d8d478da"
],
"tx": "0x31091cff362f57df35790dc43795fec746193e21f83c9c2247f3574630bfb1dc"
}
],
"source": "eth_getLogs",
"to_block": 53552083,
"total_matched": 2448
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://api.axiomworks.co.uk/chain/events?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&blocks=20&chain=base&limit=5&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://api.axiomworks.co.uk/chain/events?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&blocks=20&chain=base&limit=5&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.axiomworks.co.uk%2Fchain%2Fevents
const res = await pay("https://api.axiomworks.co.uk/chain/events?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&blocks=20&chain=base&limit=5&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://api.axiomworks.co.uk/chain/events?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&blocks=20&chain=base&limit=5&topic0=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 7 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 11 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 14 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 15 days ago | Connection failed (ENOTFOUND) | - | - | - |
Show 10 older checks
| 16 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 18 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 19 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 20 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 20 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 21 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 21 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 21 days ago | Connection failed (ENOTFOUND) | - | - | - |
| 21 days ago | Passed | 402 | 43 ms | $0.003 |
| 22 days ago | Passed | 402 | 54 ms | $0.003 |