setup_clean_chain=True is deleted so it uses the default. Also, vout is now returned from send_to_address, so now there is no need to fetch it manually Also remove not-needed code that was used with the old transaction handling.