Solana Swaps Switching to V1 Transactions
From around November 20, 2026, the Solana Swap API and Order API will only return V1 transactions. Please make sure your integration supports V1 transactions before then.
Background
Solana has introduced a new transaction format, V1, defined in SIMD-0385. V1 transactions have been live on Solana mainnet since September 15, 2026. For details, see Solana's official article Larger Transaction Sizes.
LiquidMesh is switching the transactions returned by its Solana APIs from v0 to V1. The affected endpoints are:
- Swap API:
POST /v1/sol/swap - Order API:
POST /v1/sol/order
The Quote API (GET /v1/sol/quote) and the EVM and SUI APIs are not affected.
Migration Plan
The switch happens in two phases.
Phase 1 (now): V1 is optional
Add "useSolanaV1": true to the request body of the Swap API or the Order API. The swapTransaction field in the response will then be a V1 transaction, still base64-encoded. Requests without this parameter still get v0 transactions.
Example (Order API):
curl --location 'https://api.liquidmesh.io/v1/sol/order' \
--header 'Content-Type: application/json' \
--header 'LM-API-KEY: <YOUR_API_KEY>' \
--data '{
"inputToken": "So11111111111111111111111111111111111111111",
"outputToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"inputAmount": "1000000000",
"slippageBps": 50,
"userAddress": "BEzfhXANdSW1kM4Yg1nEYTsWSuvyHxmiLy3wbBkdrSrV",
"useSolanaV1": true
}'For the Swap API, add the same field to your existing request body, next to swapInfo.
To check that you received a V1 transaction, decode swapTransaction from base64. The first byte of a V1 transaction is 0x81.
Phase 2 (around November 20, 2026): all Solana swaps switch to V1
- Both APIs will return V1 transactions, whether or not you pass
useSolanaV1. The parameter will no longer have any effect, and you don't need to remove it from your requests. - v0 transactions will no longer be supported. If your integration can only handle v0 transactions, Solana swaps will stop working for your users from that date.
Required Actions
Please switch to V1 with useSolanaV1 during phase 1 and test the full flow end to end: request, sign, send and confirm. While testing, check the following.
1. Your SDKs, wallets and sending services support V1
Make sure the libraries you use to decode, sign and send transactions support V1. Minimum versions from Solana's article:
| Library | Minimum version |
|---|---|
@solana/kit (TypeScript) | 8.0.0 |
@solana/web3.js 3.x (TypeScript) | 3.0.2 |
solana-* crates (Rust) | 4.2.x |
solders (Python) | 0.29.0 |
solana-go (Go) | 1.23.0 |
@solana/web3.js 1.x can only read V1 transactions. It cannot sign or send them.
Also check the rest of the path:
- Hardware wallets and other signers you use.
- Third-party wallets your users sign with. A wallet that uses Wallet Standard must list
1insupportedTransactionVersions. - Your RPC provider and any relay or bundle service you send through, such as Jito.
2. Use base64 encoding
V1 transactions can be larger than 1,232 bytes, and base58 encoding is limited to 1,232 bytes. Pass encoding: "base64" when you call simulateTransaction or sendTransaction.
3. Read V1 transactions with maxSupportedTransactionVersion: 1
maxSupportedTransactionVersion: 1Set maxSupportedTransactionVersion to 1 when you call getTransaction, getBlock or blockSubscribe. Without it, getTransaction returns error -32015 for a V1 transaction, even though the transaction is on-chain.
4. Set compute budget values in the transaction, not with instructions
- In V1, the compute unit limit, priority fee and loaded accounts data size limit are fields of the transaction itself. ComputeBudget instructions no longer take effect in V1, so don't add them.
- V1 has no runtime defaults for these fields. A field left unset counts as 0, and a transaction whose compute unit limit or loaded accounts data size limit is 0 fails.
- The transactions we return already have these fields set. If you adjust them (for example the priority fee), write the new values into these fields.
- In V1, the priority fee is a total amount in lamports, not a price per compute unit. To convert a v0 price: total lamports = micro-lamports per CU × compute unit limit ÷ 1,000,000.
- If your wallet shows fees to users, read them from these fields.
- V1 transactions don't support address lookup tables and can reference at most 64 accounts. If you add instructions to the transaction, keep it within these limits.
5. Review prioritizationFeeLamports and computeUnitLimit
prioritizationFeeLamports and computeUnitLimitprioritizationFeeLamportsis written into the V1 transaction as its total priority fee. It now takes effect even if you don't passcomputeUnitLimit; with v0 it was ignored in that case. If you sendprioritizationFeeLamportswithoutcomputeUnitLimittoday, your users will start paying this fee once you switch to V1, so please review the value.- If you pass
computeUnitLimit, it becomes the transaction's compute unit limit. If you don't, we set the same default limit that the Solana runtime gives a v0 transaction.
References
- Solana: Larger Transaction Sizes: the V1 format, breaking changes by role, and library support
- SIMD-0385: Transaction V1
- Transaction V1 example code
Support
If you have questions or run into any issues during testing, contact us at [email protected] and we'll help.