Relay now fully supports depositing & withdrawing to Solana from any EVM chain we support. This is a great way to get users funds on Solana to complete transactions. You can onboard users funds from Blast ETH to Solana USDC to make transactions on a game. You could also swap funds from Solana SOL to Zora ETH for users to mint. The possibilities are limitless when you use Relay embedded in your app.

Required Information

There are few things that make transacting on Solana different than another EVM chain. The provided information below should review all the exceptions where your input is Solana specific.

Solana wallet addresses are case sensitive.

SDK Properties

ActionParameterInputDescription
Deposit to SolanatoChainId792703809Chain ID assigned to access Solana for Relay’s tools.
recipientUser’s Solana AddressMust be a valid Solana address. Do not use an Ethereum wallet address. Case Sensitive
toCurrencyContract Address of Solana TokenMust be a valid Solana token address. Do not use an EVM address. We support all tokens tradeable on Jupiter.
Withdraw from SolanachainId792703809Chain ID assigned to access Solana for Relay’s tools.
currencyContract Address of Solana TokenMust be a valid Solana token address. Do not use an EVM address. We support all tokens tradeable on Jupiter.
When withdrawing from Solana using the SDK, you will not need to speicify the depositing wallet address.

API Params

ActionParameterInputDescription
Deposit to SolanarecipientUser’s Solana AddressMust be a valid Solana address. Do not use an Ethereum wallet address. Case Sensitive
destinationChainId792703809Chain ID assigned to access Solana for Relay’s tools.
destinationCurrencyContract Address of Solana TokenMust be a valid Solana token address. Do not use an EVM address. We support all tokens tradeable on Jupiter.
Withdraw from SolanauserUser’s Solana AddressMust be a valid Solana address. Do not use an Ethereum wallet address. Case Sensitive
originChainId792703809Chain ID assigned to access Solana for Relay’s tools.
originCurrencyContract Address of Solana TokenMust be a valid Solana token address. Do not use an EVM address. We support all tokens tradeable on Jupiter.

Solana Tokens

In the table, we have provided the most frequently used Solana tokens & their contract addresses. We do support all tradeable tokens on Jupiter.

Solana token addresses are case sensitive.
TokenToken AddressToken SymbolDecimals
SOL11111111111111111111111111111111SOL9
USDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vUSDC6
wSolSo11111111111111111111111111111111111111112wSOL9
USDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYBUSDT6
Relay supports any Solana token available on Jupiter. You can visit Jupiter to explore all the tokens available.

API

Once you have the necessary information, you can start utilizing our API for full Solana withdrawal and deposit support. To get started, check out the execution steps of our API. Then when you’re ready to swap, head over to the Get Quote API endpoint.

Please note that instead of the usual calldata returned with EVM transactions, there’s different calldata that needs to be handled accordingly.

SDK

You’ll need the information shared in the tables above to utilize the SDK to deposit or withdraw from Solana. In addition to that you’ll also need to install and configure the relay solana adapter. To get started, learn how to set up our SDK client. Afterwards, explore our getQuote SDK action to start swapping.