User's wallet address
Transaction object to build
Source coin address
Target coin address
Input coin for the swap
Amount to swap
Minimum output amount
Optional
apiKey: stringAPI key for aggregator access
Swap configuration options
Transaction result representing the output coin
Performs a complete swap operation
This function orchestrates the entire swap process including: