Polling method for a filter, which returns an array of logs which occurred since last poll.
Parameters
QUANTITY- ID of the filter.
Starting with GreatVoyage-v4.8.2, each log returned for a filter created with eth_newFilter contains blockTimestamp, the block's Unix timestamp in seconds encoded as a hexadecimal string following the JSON-RPC QUANTITY rules. Filters created with eth_newBlockFilter continue to return an array of block hashes.
Example
Request
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getFilterChanges",
"params": [
"0x1"
],
"id": 71
}'Response
{
"jsonrpc": "2.0",
"id": 71,
"result": []
}