Mirrors the legacy buildBundleRequestSwitchInstructionsWithVaults flow.
This version-locked client does not perform the legacy runtime IDL capability
probe for request_bundle_switch. Before these instructions, add an
idempotent associated token account create using
buildEnsureAssociatedTokenAccountInstruction or
createAssociatedTokenAccountIdempotentInstruction. processSwitch
validates the user's asset token account and transfers the redemption there
if the target bundle cannot accept the switch.
Mirrors the legacy
buildBundleRequestSwitchInstructionsWithVaultsflow. This version-locked client does not perform the legacy runtime IDL capability probe forrequest_bundle_switch. Before these instructions, add an idempotent associated token account create usingbuildEnsureAssociatedTokenAccountInstructionorcreateAssociatedTokenAccountIdempotentInstruction.processSwitchvalidates the user's asset token account and transfers the redemption there if the target bundle cannot accept the switch.