run a testnet geth client
geth --testnet --rpc
let it sync and then run the example above
node web3filterexample.js
It should return something like
received answer [ { address: '0xe0b7d3450cc66c3e693a38591a967f87c8d08bba',
topics: [ '0xb96a5204da93e5d7ddd5b0c2616fd5f76322b9c383c5010b94fdc3df11b7be52' ],
data: '0x0000000000000000000000003903a55e0802f011077bb33382822937d94efb7f0000000000000000000000000000000000000000000000000000000000000000',
blockNumber: 405904,
logIndex: 0,
blockHash: '0x197cfc09de6b00c1d1e4078403b0915836df87121417cdfe5c4d239b776aebc1',
transactionHash: '0xb456a4f903c12de9dfaf4a2105ffb2dca6e526aaf62f7d4d5b75b837463e6135',
transactionIndex: 0 } ]
transaction details of 0xb456a4f903c12de9dfaf4a2105ffb2dca6e526aaf62f7d4d5b75b837463e6135 { hash: '0xb456a4f903c12de9dfaf4a2105ffb2dca6e526aaf62f7d4d5b75b837463e6135',
nonce: 1048713,
blockHash: '0x197cfc09de6b00c1d1e4078403b0915836df87121417cdfe5c4d239b776aebc1',
blockNumber: 405904,
transactionIndex: 0,
from: '0x3903a55e0802f011077bb33382822937d94efb7f',
to: null,
value: { [String: '0'] s: 1, e: 0, c: [ 0 ] },
gas: 3141592,
gasPrice: { [String: '50000000000'] s: 1, e: 10, c: [ 50000000000 ] },
input: '0x60606040527
Thank you man :D