As per T2503, this is part of a series of diffs to refactor the transaction generation process within useBCH.
This diff is a standalone utility function which signs the input utxos and broadcasts the raw tx hex via the chronik client.
This function returns a mainnet or testnet explorer link.