Returns all log objects that match the filter identified by the given ID.
Parameters
QUANTITY- ID of the filter.
Starting with GreatVoyage-v4.8.2, each returned log contains blockTimestamp, the block's Unix timestamp in seconds encoded as a hexadecimal string following the JSON-RPC QUANTITY rules. At query time, the node rechecks the filter's block range against the current chain head. By default, the difference between the block endpoints must not exceed 5000; this limit is configured by node.jsonrpc.maxBlockRange, while hosted gateways may use different limits.
Example
Request
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": [
"0x1"
],
"id": 71
}'Response
{
"jsonrpc": "2.0",
"id": 71,
"result": []
}