Set receiver to the destination-chain address that should get tokenOut. It does not have to be the wallet that signs the source transaction. On Solana destinations, use a case-sensitive Solana address for receiver and a separate EVM refundReceiver.
Definition
receiver is the successful-delivery address on the destination chain. fromAddress is the source-chain signer (and the usual approval holder). Keeping them distinct is how you pay a different wallet, a deposit address, or a user’s destination account.
How it works
On the Route request, set
fromAddressto the signer andreceiverto the destination recipient.tokenOutmust be the asset address (or mint) on the destination chain, not the source-chain token address.For an intent route, the keeper sends
tokenOuttoreceiverafter destination execution.If a refund should go somewhere other than that recipient, set
refundReceiveras well.Submit the returned
txunchanged. The destination recipient does not sign the transfer.
How Enso does this
POST https://api.enso.build/api/v1/shortcuts/route with destinationChainId and receiver. In a Bundle, receiver is a required argument on the bridge action. See Crosschain Routing and Solana routing. Preserve Solana address case throughout.
FAQ
Can I use an EVM address as the Solana receiver?
No. The Solana receiver must be a Solana address. Use refundReceiver for the EVM refund address.
Does changing receiver after the quote work?
No. Request a new quote. Do not edit the returned transaction.
Related articles
What is the difference between receiver and refundReceiver?
How do I set refundReceiver on a cross-chain route?
How do I bridge and swap in one flow?
Do I need to sign a transaction on the destination chain?
Can I route assets to Solana with Enso?
