Added `get-received-by-account` function