Skip to main content
Universal Accounts support Solana as well. You can swap any token to and from SOL using the createTransferTransaction() method, even without assets on Solana. Here is an example:
Even if your Universal Account doesn’t hold SOL for gas, you can still purchase SOL or any other Solana token. Universal Accounts will automatically handle routing and liquidity across chains to cover gas fees.
Solana transactions can be signed with any provider compatible with the Universal Accounts SDK. In this case, Particle Auth is used to sign the rootHash. You can combine this swap transaction with a SOL transfer to automatically convert EVM-based assets to SOL and send them to another account in a single flow.

Next steps

Buy Transaction

createBuyTransaction() — buy a token with USD value.

Transfer Transaction

Send tokens cross-chain from a Universal Account.