Skip to content

Get event logs for a deployment

GET
/v2/chain-event/event-logs/{deploymentId}

Retrieve event logs for a specific contract deployment with optional filtering.

deploymentId
required
string

The deployment ID

Example
f52b1f9e-b9a6-4248-afc5-d3ae358e723a
limit
number
default: 5 >= 1 <= 100

Maximum number of events to return

eventSignature
Array<string>

Event signatures to filter by

Example
[
"Transfer(address,address,uint256)"
]
timestampFrom
number

Start timestamp in seconds, query for Anvil might return errors with this parameter

Example
1715681234
timestampTo
number

End timestamp in seconds, query for Anvil might return errors with this parameter

Example
1715681234
topic1
string

First topic to filter by

Example
0x0000000000000000000000000000000000000000000000000000000000000001
topic2
string

Second topic to filter by

Example
0x0000000000000000000000000000000000000000000000000000000000000002
topic3
string

Third topic to filter by

Example
0x0000000000000000000000000000000000000000000000000000000000000003
X-API-Key
string

API Key

X-API-Secret
string

API Secret

The event logs for the deployment

object
chainId
required

Chain ID

number
1
contractAddress
required

Contract address

string
0x789...
events
required

List of events

Array<object>
object
transactionHash
required

Transaction hash

string
0x123...
timestamp
required

Timestamp in nanoseconds since epoch

number
1731654505025122000
signer
required

Address of the signer

string
0x456...
index
required

Event index

number
0
eventSignature
required

Event signature

string
Transfer(address,address,uint256)
logs
required

Decoded event logs

object
key
additional properties
any
links
required

Pagination links

object
next

URL for the next page of results

string
?page=2