This endpoint returns transaction data. Return the latest as well as historical transactions.
Method: GET
Endpoint: https://api.syve.ai/v1/filter-api/transactions
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
Field | Type | Description |
---|---|---|
transaction_hash | string | The hash of the transaction. Each hash uniquely identifies a transaction. |
transaction_index | integer | The position of the transaction in a block. |
block_number | integer | The block number (i.e. height) of the block that the transaction belongs to. |
timestamp | integer | UNIX timestamp in seconds. The zero value corresponds to the 1st of January 1970 at UTC, called the Unix Epoch. |
from_address | string | The address that is the sender of the transaction. |
to_address | string | The address that is the recipient of the transaction. |
value_gwei | double | The amount of Ether that was transferred in the transaction (denominated in Gwei). |
gas_price_gwei | double | The cost per unit of gas used in the transaction (denominated in Gwei per unit gas). |
gas_limit | integer | The maximum amount of gas that can be used in the block. |
gas_used | integer | The total amount of gas used by all transactions in the block. |
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.