SDK Explorer

Fetch all event logs, optionally filtered by blockchain and contract address.

Parameters
input
object
Required

Represents the input for listing all event logs.

blockchain
string

The blockchain network that the resource is to be created on or is currently on. Required along with sourceAddress if you don't provide walletId. The blockchain and walletId fields are mutually exclusive.

Allowed valuesARBARB-SEPOLIABASEBASE-SEPOLIAETHETH-SEPOLIAMATICMATIC-AMOYOPOP-SEPOLIAUNIUNI-SEPOLIA
contractAddress
string
from
string

Start time of the query, inclusive.

pageAfter
string

Used to return items after the specified item exclusively. SHOULD NOT be used in conjunction with pageBefore.

pageBefore
string

Used to return items before the specified item exclusively. SHOULD NOT be used in conjunction with pageAfter.

pageSize
number

The number of items to return.

to
string

End time of the query, inclusive. Defaults to the current time.

Responses
Example
1const response = await client.listEventLogs()
2console.log(response.data)
ResponseChoose an example
1{
2  "data": {
3    "eventLogs": [
4      {
5        "blockHash": "0xabc123def4567890",
6        "blockHeight": 123456,
7        "blockchain": "ETH",
8        "contractAddress": "0x6bc50ff08414717f000431558c0b585332c2a53d",
9        "data": "0xabcdef1234567890",
10        "eventSignature": "Transfer(address,address,uint256)",
11        "eventSignatureHash": "0xd3d3dd4b1fd3e53f94deb24e763485b4c925345c5abfa9ad529c67aa55a3b784",
12        "firstConfirmDate": "2023-01-01T12:00:00Z",
13        "id": "b56ee4eb-7f48-4ce6-ba55-b71d63a082d4",
14        "logIndex": "1",
15        "topics": [
16          "0xd3d3dd4b1fd3e53f94deb24e763485b4c925345c5abfa9ad529c67aa55a3b784"
17        ],
18        "txHash": "0xe787956fa895b9debe3c43ec5db01938cf6dc4933e7470cdda7cbe492f530d17",
19        "userOpHash": "0x4ceda08efcbed700caf0d47ddd5ecc9b86fca94b9aa4e349bc16837a643fb498"
20      }
21    ]
22  }
23}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.