Not getting logs for certain address

I’m subscribed for logs for certain addresses but after hours of running the script, I didn’t get any log event. However, Etherscan shows transactions every few seconds for the same address. Please help me find out what am I doing wrong.

https://etherscan.io/address/0x28c6c06298d514db089934071355e5743bf21d60

const Web3 = require('web3');

const web3 = new Web3(new Web3.providers.WebsocketProvider('wss://mainnet.infura.io/ws/v3/XXXXX'))

const subscription = web3.eth.subscribe('logs', {
    address: '0x28C6c06298d514Db089934071355E5743bf21d60',
})

subscription.subscribe((error, result) => {
    if (error) console.log(error);
});

subscription.on('data', console.log);

Welcome, @serhio! Just to confirm, do you get any errors? Are you checking to prevent the connection from going idle?

@serena I have no errors and if I change the address I have logs with the same script.

hey, this doesn’t look to be a smart contract that emits events but a binance wallet address.

@traian.vila you are right. Is any way to subscribe for transactions(approved) events by that address?

yes, you can do that, check these examples:

https://medium.com/coinmonks/monitoring-an-ethereum-address-with-web3-js-970c0a3cf96d
https://medium.com/pixelpoint/track-blockchain-transactions-like-a-boss-with-web3-js-c149045ca9bf