Skip to main content

/api/v1/contracts/results/logs REST API Endpoint

List contracts logs across many contracts on the network

Updated on
Dec 18, 2024

Query Parameters

index
string

The contract log index

limit
integer

The maximum number of items to return

order
string

The order in which items are listed (asc or desc)

timestamp
array

The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator

topic0
array

The first topic associated with a contract log. Requires a timestamp range also be populated

topic1
array

The second topic associated with a contract log. Requires a timestamp range also be populated

topic2
array

The third topic associated with a contract log. Requires a timestamp range also be populated

topic3
array

The fourth topic associated with a contract log. Requires a timestamp range also be populated

Returns

logs
array

An array of objects, each representing a log entry generated by a contract execution

address
string

The address of the contract that generated the log

bloom
string

The bloom filter for the log entry, used for quick searching

contract_id
string

The unique identifier of the contract that generated the log

data
string

The data field of the log entry

index
integer

The index position of the log within the transaction

topics
array

An array of indexed topics associated with the log entry

block_hash
string

The hash of the block containing the transaction that generated the log

block_number
integer

The number of the block containing the transaction that generated the log

root_contract_id
string

The unique identifier of the root contract, if the log was generated in a nested contract call

timestamp
string

The timestamp of the block containing the log entry

transaction_hash
string

The hash of the transaction that generated the log

transaction_index
integer

The index of the transaction within the block

links
object

The links object which contains the following fields:

next
string | null

A link to the next set of results, if available

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free