Factory function to create an enhanced response if applicable.
The unified relayer response
The Vana SDK instance
EnhancedTransactionResponse if enhanceable, null otherwise
const response = await handleRelayerOperation(vana, request);const enhanced = enhanceResponse(response, vana);if (enhanced) { await enhanced.wait();} Copy
const response = await handleRelayerOperation(vana, request);const enhanced = enhanceResponse(response, vana);if (enhanced) { await enhanced.wait();}
Factory function to create an enhanced response if applicable.