At a glance
| Chain | Solana |
|---|---|
| Native asset | SOL |
| Character | very fast blocks and low fees, with outage history to plan around |
| Focus | routing swaps through the API on this chain |
| Money page | https://xauconnect.com/swap |
Use XAUConnect
XAUConnect is a multi-chain DEX aggregator built around gold liquidity: best-price swaps across networks, XAU pools, bonding-curve launches on the Launchpad, trending pairs on Discover, and a developer API for routing.
To apply this page to your own situation, open the xauconnect swap and work through Solana developers: XAUConnect guide with your own numbers in front of you.
How does an API route stay on Solana?
The route stays on Solana when every request names Solana and the code will not substitute another network. XAUConnect is asked to route the swap here. Log the chain on the way out. If a helper defaults elsewhere, override it before the call, and read the response as a Solana plan only.
A manual check uses the same chain. After the API replies, you can compare the route with https://xauconnect.com/swap set to Solana. Assets and direction should agree. If they do not, discard the response. Developer routing fails quietly when the chain in the payload and the chain on the screen drift apart.
What does a useful swap request have to name?
Name Solana, the assets, and the amount. Also make sure the signer will have SOL, because low fees are still paid in the native asset after a route comes back. The response is not a filled swap. It is a plan. Submission happens only when a wallet signs and the chain accepts the transaction.
Reject your own request if any of those fields are blank. Send a new one when the amount changes. A stored response from earlier is the wrong plan on a chain with very fast blocks. Build, read, and submit as one short sequence, or build again. Outage checks come before the signature.
How should code behave if an outage blocks sending?
If Solana is not accepting transactions, the code should stop before it signs. Outage history is the reason that branch exists. Queue the intent, not a signed payload. Tell the operator the chain is halted. Resume only after a fresh route request succeeds and a person, or a policy already set, agrees to submit.
Do not hammer retries into a halt. Very fast blocks are irrelevant while nothing is confirmed. Back off, check status, and request the route again when inclusion is possible. A failed submit during an outage is not a reason to guess a higher SOL fee. This page has no fee schedule to copy.
Why do very fast blocks make quotes expire quickly?
The chain produces blocks quickly, so the pools behind a route can move before a slow signer finishes. Treat the API response as short lived. If the signing step waits, discard the response and request another. This guide does not define an expiry in seconds. If you paused, ask again.
Low fees do not buy you a longer quote. They only describe the cost character of Solana. A cheap route that has drifted is still a bad route to sign. Compare the amount out on the new response with the amount the user expects. Submit the response that still matches.
How can the swap page confirm what the API returned?
Open https://xauconnect.com/swap, choose Solana, and enter the same assets and amount. The on screen route should resemble the API route in chain, direction, and assets. Small movement is possible because blocks are very fast, so compare at once. A different chain means the API call was not the call you think you sent.
Use the screen when a signer wants to see the route outside the code. Use the API when software must request it. Both should point at Solana, both should leave SOL for the fee, and both should pause for outage history. The guide is the shared reminder for that behavior.
Questions people ask
How do developers route a Solana swap?
They call the XAUConnect API with Solana named, plus the assets and the amount. The response is a route, not a finished swap. A wallet still signs, and SOL still pays the network. Code should refuse a response that names another chain. Also refuse to sign during a halt.
What makes an API quote too old to sign?
A pause makes it too old on a chain with very fast blocks. This page sets no second count. If the signer waited, request the route again and compare the amount. Low fees do not extend the life of the quote. Submit only the fresh response that still matches the user request.
Should retries continue through an outage?
No. Outage history says the client should stop, keep the intent unsigned, and wait. Retrying a signed payload into a halt does not create confirmation. When Solana accepts transactions again, request a new route. Very fast blocks matter only after the chain is moving. Until then, speed settings will not push the swap through.
How do I compare the API with the swap page?
Open https://xauconnect.com/swap, select Solana, and use the same assets and amount. Compare chain, direction, and assets with the API response immediately. Because blocks are very fast, the numbers may move a little. They should not switch chains. If they do, fix the request before any wallet is asked to sign.
