filter option not working

VeerasarmaVeerasarma Member Posts: 3
var filter = web3.eth.filter({fromBlock: 350000, toBlock: 'latest',address:"0x075da4ebae466b80d451b0627296d5d38b3e99c1"});

var myResults1 = filter.watch(function (error, log) {

console.log(error);
console.log(log);
});

filter.get(function(error, result){ console.log(error, result); });

The above code always shows empty result. whatt is the problem

If i change like this it return nothing

var filter = web3.eth.filter({fromBlock: 350000, toBlock: 'latest'});
filter.get(function(error, result){ console.log(error, result); });

how i get the result please guide to me. i need to get the transactions details by the account if there another option please give that idea
Thanks in advance


Sign In or Register to comment.