This endpoint returns transaction data. Return the latest as well as historical transactions.

Method: GET

Endpoint: https://api.syve.ai/v1/filter-api/logs

📘

List of examples

The best way to understand how to use the Filter API is to visit the section of examples here.

Request Parameters

All request parameters have the format <operator>:<field_name>. Each field of the table can be used as field_name. See the "Response Fields" section below for possible values.

📘

Request Syntax

For more information on how to construct a request using the Filter API click here.

Response Fields

FieldTypeDescription
timestampintegerUNIX timestamp in seconds.

The zero value corresponds to the 1st of January 1970 at UTC, called the Unix Epoch.
block_numberintegerThe block number (i.e. height) of the event log.
transaction_hashstringThe transaction hash of the event log.
transaction_indexintegerThe position of the transaction in a block of the log.
log_indexintegerThe position of the log within the block.
addressstringThe address of the smart contract that emitted the log.
topic_0stringThe first topic of the log (containing bytes data in hexadecimal format). The first topic corresponds to the signature of the event of the log.
topic_1stringThe second topic of the log (containing bytes data in hexadecimal string format).
topic_2stringThe third topic of the log (containing bytes data in hexadecimal string format).
datastringThe raw data of the log (containing bytes data in hexadecimal string format).

Live Example

Press Try It to make a request and see what the response looks like. Feel free to try different values for each request parameter.

Note: The below live example does not include all possible request parameters.

Language
Click Try It! to start a request and see the response here!