Using Kupo to look up additional data not present in the transaction, such as resolving inputs, is a common use case and can be applied across input, filter, or output plugins. Create a global configuration for setting a Kupo URL and refactor the input chainsync plugin to use the new option.