Python - Get XCH and CAT transactions history

I have Chia full node and I need to get all XCH and CAT transactions of certain address (puzzle_hash). How can I do this via Python script and RCP?