How to find transactions for specific contract

currently seems no way to do that (transactionByOwner only search transaction for sender, not contract), but it is very common use case
e.g.

Ideally we want to be able to find transactions for specific contract, and be able to filter on the starting block number