eth_getFilterChanges

Polling method for a filter, which returns an array of logs which occurred since last poll.

Parameters

Filter ID - Generated after calling eth_newBlockFilter, eth_newFilter or eth_newPendingTransactionFilter.

Sample Request

curl https://lb.nodies.app/v1/<INSERT URL> \
   -H "x-api-key: <API-KEY>" \
   -X POST \
   -H "Content-Type: application/json" \
   -d '{
  "jsonrpc": "2.0",
  "method": "eth_getFilterChanges",
  "params": [
    "0xf0df48cf9c194d6477d6f52799a1b45f"
  ],
  "id": 1
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    "0x80afb6c2394a1b00a3f0d7e4696536218d3fd4207ab89c636134ddf235a72ba5",
    "0x2f2c819d53187b6e9f538017de9617c3b3ad2158c9113912fd971f12160f9a27",
    "0xae7914ff7a718bb6d6cca5daad3a0f3b9854edf11cf786535af60ff1fd0dd6ea",
    "0x451df1f18aeb0aad8402054e24eec484480cb47baa11e1f89fd54aec08244b82",
    "0xee8624af3d7aa75699025919df077e27ecc2ad566f7140582e0e25095c272b26",
    "0x779621d7f0d9e4dad3a1641ed1a89fc1c58444321ca1a20d16f8d611f2fb9001",
    "0x4ce254b114f2ee9c44a05499b436df8e0a33e2e604cc6e7a83e0ff69f42960d0",
    "0xc4d62778135d036e66ba8755cc5dc2effb9dbb3a5e529495297178b31297fc63",
    "0xe9486f7b4ba7be650b05c8e12aa50b4371847e4dc947a13e21529cd82e2379c6",
    "0x44618cac7209711d0b8904c63c8f7342c6fb5337cd612a1d2867f53e83197715",
    "0x4700dfe6cc8020661ec7233e346a2bd2de5e2aac9735fe4980d91715c1ef6ab3",
    "0x55b1290d38211cd061ab89614954b725fdfab3820e543af3b64998cfd5d37050",
    "0xd048881b3c2cca289ad8b13501127df7206d922c3dd8be983e5fd8a02cf42b24",
    "0x875db68640ac1719232af9f780e17a24dc677bd2587fff0e86006b82feeea7de",
    "0x27168be947f92506e1f663dec7e85bdfca946e8700f4b46b8be867d0a1ed87b7",
    "0x79eb14941dcda59dad6fda7238300fabc52e62032d3d4c6dcbf59a5d2ae7860a",
    "0x2f7ef4717d358db177b9140d392dd617552bf1ca73fb2e5faf12416822d61487",
    "0x06f40a5ac778dff756e1870bfe3b1298277eb84c03e98df30a369b76a9e1f9ae",
    "0x7f1f10ce4c2c43582e0f6937296cf1a1551376a66ddcf9266a569b22223cf1b2",
    "0x5c8dd17ad725fb778e012ae61fb595fda00a59739e9ce43515a817f92926ece1",
    "0x689e76b66b02fb345b739c6f70b8eba55007282417b5d7aa00f1e8ac41ae97eb",
    "0x37ad333e26e959394e742feea3e23cfbb4df847b488e89bc638de24d505f87aa"
  ]
}

Last updated