Skip to main content
GET
List contracts logs across many contracts on the network
List contracts logs across many contracts on the network. This method will use 120 Compute Units.

Query Parameters

index
string

Contract log index

Pattern: ^((eq|gt|gte|lt|lte):)?\d{1,10}$
limit
integer<int32>
default:25

The maximum number of items to return

Required range: 1 <= x <= 100
order
enum<string>
default:desc

The order in which items are listed

Available options:
asc,
desc
timestamp
string[]

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

Pattern: ^((eq|gt|gte|lt|lte|ne):)?\d{1,10}(.\d{1,9})?$
topic0
string[]

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

Pattern: ^(0x)?[0-9A-Fa-f]{1,64}$
topic1
string[]

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

Pattern: ^(0x)?[0-9A-Fa-f]{1,64}$
topic2
string[]

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

Pattern: ^(0x)?[0-9A-Fa-f]{1,64}$
topic3
string[]

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

Pattern: ^(0x)?[0-9A-Fa-f]{1,64}$

Response

OK

logs
object[]