I have contract address, and I want to find the block number, when it was deployed, to use it for loading events for this contract. Is it possible?
Assuming you know the
transactionHash of the transaction which created your contract, you could just use the web3js function:
web3.eth.getTransaction(transactionHash [, callback])
This will return you an object where you can access the block number you are looking for. Check this example code out!