GET
/
transactions
List Transactions
curl --request GET \
  --url https://indexer.testnet.incentiv.net/api/transactions
{
  "total": 123,
  "items": [
    {
      "hash": "<string>",
      "blockNumber": 123,
      "timestamp": 123,
      "from": "<string>",
      "to": "<string>",
      "value": "<string>",
      "gasUsed": "<string>",
      "gasPrice": "<string>",
      "nonce": 123,
      "input": "<string>",
      "status": "<string>"
    }
  ]
}

Query Parameters

fromTimestamp
integer

UNIX timestamp (seconds) marking the start of the time range to filter transactions.

toTimestamp
integer

UNIX timestamp (seconds) marking the end of the time range to filter transactions.

fromBlockNumber
integer

Start of the block number range to filter transactions.

toBlockNumber
integer

End of the block number range to filter transactions.

offset
integer

Offset for pagination.

limit
integer

Maximum number of transactions to return.

sort
string

Sorting order for returned transactions. Options: TIMESTAMP_ASC, TIMESTAMP_DESC, NUMBER_ASC, NUMBER_DESC.

Response

200
application/json

A list of transaction metadata entries.

The response is of type object.