Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const contract = getState().web3Reducer.get('contract');
- contract.getPastEvents('allEvents', {
- filter : { owner: '0x3333333....333' },
- fromBlock: currentBlock - 5760,
- toBlock: 'latest'
- }).then(transactions => dispatch(eventsFetched(events)));
Add Comment
Please, Sign In to add comment