eth_getFilterChanges

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

Parameters:

QUANTITY - the filter id.

Returns:

Array - Array of log objects, or an empty array if nothing has changed since last poll.

  • For filters created with eth_newBlockFilter the return are block hashes (DATA, 32 Bytes), e.g. ["0x3454645634534..."].

  • For filters created with eth_newFilter logs are objects with the following params:

    • removed: TAG - true when the log was removed, due to a chain reorganization. false if its a valid log.

    • logIndex: QUANTITY - integer of the log index position in the block. null when its pending log.

    • transactionIndex: QUANTITY - integer of the transactions index position log was created from. null when its pending log.

    • transactionHash: DATA, 32 Bytes - hash of the transactions this log was created from. null when its pending log.

    • blockHash: DATA, 32 Bytes - hash of the block where this log was in. null when its pending log.

    • blockNumber: QUANTITY - the block number where this log was in. null when its pending log.

    • address: DATA, 20 Bytes - address from which this log originated.

    • data: DATA - contains one or more 32 Bytes non-indexed arguments of the log.

    • topics: Array of DATA - Array of 0 to 4 32 Bytes DATA of indexed log arguments. (In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)), except you declared the event with the anonymous specifier.)

Example:

// Request
curl https://arbitrum.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0xbcc693481b40a7c1ad28533e7311bd47"],"id":1}'

// Result
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        "0x0b83e5828d368418df0648b7f641e1acb3d43b6d768323963ff131f118fe8ede",
        "0xe54a8c117296399492bdafae04029309167b4aaafff0990b053cb32cbe6e30b0",
        "0xe5829ed05f43f72790e862482e9954611e3b0de1d5b8de011ce19843f227eadf",
        "0x3af8c44e5db57fc54b70fead4553de71c6118c7855179d15475a4cd9bea4122f",
        "0x4da702a74f11c86abe043e037c18cabb6e2188ec3f942258e0b29b6b13283934",
        "0x9db4103ec60b74f7905172773fd93f0c995a7a5152f326a1cf6912d122479557",
        "0xa0007893eb535d8d74220fc5be5451643eca7f9d1fcf173285c0e34724cfc3a7",
        "0xc5e261ff4077bbc04f4216e0cd39892140e87625fab33d4bf1762c630e896204",
        "0xcb434c1c442600664dc3705ce626d3271c6a642b8a3bbb6026134c8cd3bf440c",
        "0x35b3b3af7feaa5dc9a32d9b003097ce623efc96f4856a650d1040b4b69afdc83",
        "0xf48da2cd67232ee111d1bd528e0ae11efead3ec1fc89be35e6d4d5beb393c177",
        "0x134316e2175fa24de5110b282aa2298d3572bb779aa0b8bdcbf62dfa5270ca91",
        "0x6e80c150144ab1ffbf9ae996e90da1f05fff8d29a85811ecc38684259e0edece",
        "0x66e74203a41f7a22e50f43b576f9c0d5405fdede71dac421fc929c4070aadf0f",
        "0x60f013f7e2777732ac57ad291b2af8be0bcd027012c6b859358eaddde05618e3",
        "0xee934f0246253db79a7784791f234078c8e0a6af12e6d934669a4185b0114660",
        "0xdc34e9786cdc554452641118b3fc1fd87aa4ceb5139439717ebf78b966e7de9f",
        "0x888f476177e1a7d3194638698dc3511424c81b26c115be4083a6b1d50c192134",
        "0x1411c763bb2fd71db7e344be511ffd1dda6dd9fb295275026a8d80dbffc1af95",
        "0xcf2ae399c68f2d877e0033745a12be0f163df75e77fdc3c81825585313551866",
        "0x21ec8da19d6bfb7394a5a5520d62afa51281ab6bd6c728fa1e306533a35d3533",
        "0x056b5a689c29c50905097d6f0538b80f49cce2523f026f02b779e288cc2c51a6",
        "0x28a4287e7eb64e1f01614cffb5bae8d8479db6541550204750313c0f6f0002c2",
        "0x34e2c8b73954dd81f8f7169fe2ca9a748dccbb41c1914f5de7b2d085b49faa99",
        "0x202115eaf27f26cb636ec5ce07237e8180d0d7328935877ece906a861a1a69c5",
        "0xa6ac0b6fb29bc5e2c5fff3c04794f05ade06e4cdd43fc8189d0d2cd8b02fa960",
        "0xe73246ce162c417a60998281cc2a4d02e9a7060fc8d04b508baa98d59058313e",
        "0xa67b84f385f3bf73b4ed5058e9e5bcb30d5e7b9ea4e0aafd8f1a9dbc27999143",
        "0xeb7df429f5c8c0467b1eeec1ad2fe33f68a90e209015b41c7290e0a99a1f927a",
        "0x0a2883e1e2285fa5801507c4489adada4f51bb8f4da87d9b3e62d76a086ae8ac",
        "0x8f6d19c801cb943a64bead068ee92f2ced0768bf5a9b00567509203bca03f2b2",
        "0xd03562536c27f6e10d8027886ed559a40754f5eb7d714209a5d45625ad1fe5e1",
        "0xbf449992d137f163e0bcaee65a06aa71e44799541bd5f136d401c1b826ee4411",
        "0x36296557098b166d0b207987180b21634837ed1f9334e0bd44d286f259f8c2f7",
        "0xa8dfbc96276c7950b65fdc4f3dc6abe56ca787048ac9d9e804e2f65c7c39dc45",
        "0x873e6c26e2187a762d2b67e8a3c385d5ca22f68b52cf7bb88805686c07d0bdf8",
        "0xda84b29f05ac6d1ee777fb01b9e920e1116c28abc74c1627676178b35e6eaf32",
        "0x0ea7f128b02a3f0295150f5ea6ee83ce434659419e146c58cd66412f02384f89",
        "0xec59e2fcb9907a013f47ddc416b4c61bdf0ae813fbe680ca8d9ec02254f5f653",
        "0xf93f317f525c3bcd086924acf4bc4936bd482d77ac33b1ae293da5d656ad1e08",
        "0x366f0e59baaae15ebeff484fe7b169d1eb3c88ebc68d63bc77bc19e46683d388",
        "0xb4722031ad8bca76cf8b6c8f32383f7db3170beab9d7a932b7f2c6d1abb35d7b",
        "0xc03847b4844299d55121b30c23c5f9fee9dcef7c72ced7ea8bd161aecfc17afc",
        "0xbc6a14330bf82147f32fddff2259d426b061ca74ef6bac81a894f9b25166913a",
        "0xabd51346298e46d9f327f362a05ee352a6edd0cc31bdfcfca096079d501b0fa4",
        "0x8a841b9d8ecba93539626e06f9a090c1a3ac5692252968353655f75d5cf85063",
        "0x91c0e109e3e3878eeae491730c8ea8518b56d4556e86bebb2a9510ac5ff7d7e5",
        "0xfb1b484e0ae5633a6b8bdfdf780942e066e54c5f08bc360a9e5b2e4876143310",
        "0xf599e40989778b5da8de9f6ecf21f69aa39de921710643193f46ef51f8c09e08",
        "0x48b56f157b297ae289e5f66635df1a1e73b575825c75d3d7389fdc98fc58d928",
        "0x6697c7a3cc33aa2ba89b08de901e88a3a1063e94202ad06b7f9ab574f0424d08",
        "0xa18743a7fb6c8f60ea6f03f391167f3bc191804168228e71d2aca68115963ea5",
        "0xd9fcb915499dd17461d9ab549bda78ae26c8b91ffe6b335d9b24227eaaa09a57",
        "0x1e7ffbc39927892f2efa64a4134315497f68e21a99b988581342a87ad1a04653",
        "0xf6ee1342235298e26357c1b506a576060a326c64881401c17f705500e8e5edd3",
        "0xe8116b929dd35cc48ef47fb9191f6974bc83f5ccc44ab0ebb13cc504485ceb0d",
        "0x6170783a120c2a680c13d01a1edb53b96bb2958e42b9169c7b479ef951878969",
        "0x7d7539ee117dbd77b3a1e35f4447abf6d962e6c030d0add8c8bbedf653a13bd9",
        "0x5250a1009b10cee2114e4010630df66c51669c3932edd0121d191792e001ad99",
        "0xb1ce2162656c88d64b7c6a5e5a7d7421931d7a630ed05d66ea9a4a1ccc291526",
        "0x7f9ade449ff85dbe67bb33d805b1ebf476cddb78077da804b19624f7bc5dbb3e",
        "0xaf4a79b4a8e8ebc9aeb4013c507d8cc2e29b05dbcea8c702bdaa4e103b796654",
        "0x99a844333ad52613bef85d848a44966f07376ac8d03efa392bf865186289a371",
        "0x518371a7022aea60250a9aa4d360529eeaae4d3dd4ae671a6526fe704e1aca53",
        "0xadce3942b5637cf66984a7d4ffd636ea9eedbc3fa056586bc079901cd1541989",
        "0x87163ce69da025c7213d02ef68489ff118c836dc002dced845a24f97962e67e2",
        "0x769a77fcd2cee8b9c4e1c64c9eada2852759d96d48ec5f2d8955b57309621cf3",
        "0x64d6a70e5255731cca3e73f036bdcf5bcf614c5f0be0d1d507005cb93c27e663",
        "0x3da4d37cdf6d4058a9b046e180627cd5c03699bbc6946daf19179ffb6a505da1",
        "0xa7a7dc64a716f23e7ae43e2503e92f6b087fd1c35f1dc7b3035500ab07c2bb88",
        "0xba56c29e6c67f781fbefccdbf1493ae4bbf4b12563f0d686a9d26187ae044cb6",
        "0x35cb0caec975dc4ce63d8b2e885f1d769da8fb85bc97e3919d8866b92d630258",
        "0x006b40314653189cc497ed40a64def090d9ad97aa660995c3f1347c2a62ff74f",
        "0xa6f623a32348f111b1ce170eae912d521ed620afbc05085080f905684a33f56b",
        "0x48e55d1919bbdf2967ff2d4f02da6acbdd728a12093d0ed6e874d159d04f658e",
        "0xcd916579f63fe72e6adfd5e6e625bd0a7dff86b1d7c47421165a87812410a18c",
        "0xbdaa21dfe88a52128b59b818b2f446a3c75ebb476a50527fb3355e9a88bec2ab",
        "0x6d78e12c5eb2958b7ac878c7cb167c1cbc404999c99749389178720996964b1e",
        "0xf2907b8afaad5b41ba724932e6506eeac0e5a370281e7f69cbb1a247c0125060",
        "0x68dbe19613650a2cd97d3a9fef409d531240643c1e0ab8be0c04e1aad9b74e8d",
        "0xf24c6ae2eeb159a6520bd0c542b10c6ab6765d70d8ec63cde128d9280b5e2744",
        "0xf07a7c663146e3d30d50801541c2e907216ff8ffad23f2de1e1db18c4692ab96",
        "0xa4622baa1c8bc970702362d9297faece3793931e4576bef1a8a27ff48cff88af",
        "0xbc88964b2e99a6901b09e490a77075dc210b01c050bf4f014819f2669d6ef721",
        "0x68bf05a61376ddddb72bdc90191a1da3f12106303028160a03900d99e3f4eaf5",
        "0x755f9eebb9c357d629d11c3f79fda2b8c812462327ba7ed620d02a4519b3efb5",
        "0x9553ac9f6c921a27c6d4bf1f4e49ec76479cf3c3235cd4a62e0b872ec608b2f2",
        "0xa7df0ca90215f7fbbde8d96be42dedc8432ff3f1b4dd0aa067f505713ec8d322",
        "0xd8cc6c0b77ecc1703c41ecd340ee784d18bd0a6073342147e0098eb439454104",
        "0x7924a0519b8126124d66defd1438ee8df69eb20a9306203abfc2d2017e88d3c6",
        "0x023ae6c7783a50face2658888679612ccb35710fcc4b6f52e7b6c530531c944f",
        "0x6c9118438545a3869e096e55ba757fb16ae23971227b16da9a764b5e9117c810",
        "0x2849ddea5ad7e8f2432a4e822912c8c102e48d23abc3cec00b6e5d29ada68e5c",
        "0x85bcce8a4e95e2f163cd7ebad903f96faddcbad962f3892431beb6a53a886ef9",
        "0x2d2db28ed8ac5952442e3a2276014b84519bac009b3f08eb18c10a762a06c699",
        "0x70a415b45a36c779a09fa554a261056c14ce88625026fef0552d26d90ed36071",
        "0xc9bfa52c2235832af094b6694cadf3bc8617c1ef93113690ed2ee8be2bdeb9a6",
        "0x8aec8a00e3835d03d2f735a1cc8dce5e31aa34eefb31c42193ccd0d2e8304dea",
        "0xc263069f0d0a2e52b7d0486029fc06f3bbb80bb69553caca360d9ff498b737ee",
        "0xe9daeb5093718f1665e3e11086b9c9edce63118522e2bebda122c23d9d3b272d",
        "0x53da9ea91175655e798500c10a189b37772d239a3866fea469e349e5150986d0",
        "0xb66c624db66656759d3894cada5e559a4d31da4162ec74b48f7bd31ad6d0c6a6",
        "0x733277c2223cae99cc4bc9190eaee154fca6554432c024d20488bf9edfe45804",
        "0x99d2a49f4e591e9e6a7e694f9e82629ff75f807b6cc3aa89bb42ab2c872a6e09",
        "0x0e090e1d36ee3f77f5ac8839d950d6625879db3a5854ad2ce255245da7fbd54d",
        "0xe94d07b36baa4bff9dc0801716f2cc3a92db31242dbfa3513e6950233f6d52ec",
        "0xbb9de8c7ae34f5d600f4f0804fca110e41b423130d97f93d456cc34bcb87fa6c",
        "0x4bf603129b88ffbb289378dcf00bb0aa5f63323600c7d70b5e74021d6f247e69",
        "0xf464baa52c926755aaaeaec318b7e8f56712e61529be39aff0a98fb26904ff91",
        "0x18132b698c1e492a454a5838bfca0f7a254430909c987fc2a53e03cae193bd2d",
        "0x335289b9e00ae0100b88f99a7d4c4f41ed10adf95392b512bec497b3d9701ca6",
        "0x501408e6d2f4d299dad2baab0c80c84c0d01ad0752914cd6908f3513a9c7a443",
        "0xf49b1f9e2298067b3c65f4c02f8defc2f1dba9f1a9e820ee17c52402f2ffe1d9",
        "0x0b2818d3ba05aa6820808b97c682351b034bdbf61ea0667d4451139f0c0fa6a5",
        "0x8c041b10c8ca737e1392136dc4be29e5a9e4703739c2776a98543163efbda293",
        "0x885009ca8b6d7d457daaf7c0d6ed7b2ddbf6933ebe94f73e81e8589420691f15",
        "0xb28d65d4c9a8c69d39ca0831ff6e65c367cccffb456d4deba4c9947df1b7d505",
        "0xe3466fdee52a429f5c1e27aea76c9542e2eeb662d25f95efcb9895c634eceebb",
        "0xd878a1e4da57dd4b6742d6d48393a79d7c66407ac4bf0a5be734d7095ce2a32f",
        "0x04b7e400e647b6be5627d3ab44148b6524f5d72108beec4f194574b3b2f43358",