> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Solana Integration

Supercharge your Solana-based operations by connecting high-performance workflows to the ecosystem's most powerful protocols. Automate liquidity managem...

![Solana logo](https://ai-icon.b3.fun/logo/solana) Integration available

Supercharge your Solana-based operations by connecting high-performance workflows to the ecosystem's most powerful protocols. Automate liquidity management, token transfers, and real-time data retrieval across the Solana network with seamless, low-latency integrations.


**[Public page](https://b3os.org/integrations/app/solana)**

Open the user-facing integration overview for examples, templates, and sharing.
  **[Action reference](/actions/reference)**

Schema-level references for executable actions and test payloads.
  **[Trigger reference](/actions/trigger-reference)**

Event and schedule triggers that can start B3OS workflows.

## Build With Solana

Use Solana when a workflow needs to react to Solana Transaction and follow up with actions such as Cross-Chain Swap (Relay), Get SOL Balance, Get Solana Wallet Positions. Start in the visual editor to connect an account, then use the references below for payload shape, required fields, and API testing.

## Available Actions

| Action | ID | Connector | Required fields |
| --- | --- | --- | --- |
| ![Cross-Chain Swap (Relay) logo](https://cdn.b3.fun/b3os-icons/relay.svg) [Cross-Chain Swap \(Relay\)](/actions/reference/generated/relay-swap) | `relay-swap` | `wallet` | `tokenIn`, `tokenOut`, `srcChainId`, `dstChainId` |
| ![Get SOL Balance logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Get SOL Balance](/actions/reference/generated/get-sol-balance) | `get-sol-balance` | `-` | `address`, `chainId` |
| ![Get Solana Wallet Positions logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Get Solana Wallet Positions](/actions/reference/generated/get-solana-wallet-positions) | `get-solana-wallet-positions` | `-` | `address`, `chainId` |
| ![Get Solana Wallet Positions With USD Value logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Get Solana Wallet Positions With USD Value](/actions/reference/generated/get-solana-wallet-positions-usd) | `get-solana-wallet-positions-usd` | `-` | `address`, `chainId` |
| ![Get SPL Token Balance logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Get SPL Token Balance](/actions/reference/generated/get-spl-token-balance) | `get-spl-token-balance` | `-` | `walletAddress`, `tokenMintAddress`, `chainId` |
| ![Get SPL Token Metadata logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Get SPL Token Metadata](/actions/reference/generated/get-spl-token-metadata) | `get-spl-token-metadata` | `-` | `tokenMintAddress`, `chainId` |
| ![Jupiter Swap logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Jupiter Swap](/actions/reference/generated/jupiter-swap) | `jupiter-swap` | `wallet` | `inputMint`, `outputMint`, `chainId` |
| ![Jupiter Swap Quote logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Jupiter Swap Quote](/actions/reference/generated/jupiter-quote) | `jupiter-quote` | `-` | `inputMint`, `outputMint`, `amount` |
| ![Send SOL logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Send SOL](/actions/reference/generated/send-sol) | `send-sol` | `wallet` | `recipientAddress`, `chainId` |
| ![Send SPL Token logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Send SPL Token](/actions/reference/generated/send-spl-token) | `send-spl-token` | `wallet` | `tokenMintAddress`, `recipientAddress`, `chainId` |
| ![Unwrap SOL logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Unwrap SOL](/actions/reference/generated/unwrap-sol) | `unwrap-sol` | `wallet` | `chainId`, `amountMode` |
| ![Wrap SOL logo](https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/solana/info/logo.png) [Wrap SOL](/actions/reference/generated/wrap-sol) | `wrap-sol` | `wallet` | `chainId`, `amount` |


## Available Triggers

| Trigger | ID | Required configuration |
| --- | --- | --- |
| [Solana Transaction](/actions/trigger-reference/triggers/solana-transaction) | `solana-transaction` | `chainId`, `watchAddress`, `eventCategory` |


## Common Use Cases

**Automated Rebalancing via Jupiter**

Automatically maintain specific token ratios in your wallet by fetching Jupiter swap quotes and executing trades whenever your portfolio deviates from your target allocation.
  **Real-time Treasury Monitoring**

Set up workflows that continuously monitor your SOL and SPL token balances, sending instant alerts or triggering payouts when treasury levels reach predefined limits.
  **Dynamic Token Distribution**

Streamline reward distributions or payroll by automating the 'Send SPL Token' action based on external data inputs, such as user activity or milestone completions.
  **Smart Liquidity Management**

Combine metadata retrieval and balance checks to build intelligent systems that react to token changes and liquidity shifts within the Solana ecosystem.

## Connector Notes

- Create the connector from a trusted B3OS organization before publishing workflows that call external accounts.
- Keep OAuth tokens, API keys, bot tokens, channel IDs, and account IDs in connector settings or workflow props, not in reusable public template text.
- Test with the visual editor or `POST /v1/actions/{type}/test` before routing production traffic.

## Related Templates

No public templates are linked to this integration yet.

## FAQ

**How can I automate Solana token transfers using B3OS?**

You can use the 'Send SPL Token' or 'Send SOL' actions within B3OS to trigger automated transfers based on specific conditions in your workflow, such as price movements or time-based schedules.
  **Can I integrate Jupiter swaps into my automated workflows?**

Yes, B3OS provides direct actions for Jupiter, allowing you to automate the process of fetching swap quotes and executing swaps to ensure optimal routing and liquidity.
  **Is it possible to monitor my Solana wallet balances automatically?**

Absolutely. You can use the 'Get SOL Balance' or 'Get SPL Token Balance' actions to periodically check account balances and trigger subsequent workflow steps if specific thresholds are met.
  **How does B3OS handle SPL token metadata retrieval?**

B3OS includes a dedicated 'Get SPL Token Metadata' action, allowing your automated workflows to pull essential token information, such as symbols and decimals, directly from the Solana blockchain.
  **What is the benefit of using B3OS for Solana automation?**

B3OS eliminates the need for manual execution and complex custom coding, providing a robust infrastructure to connect Solana's liquidity and speed with your existing business logic and operational tools.