Function instanceOfSwapResponse