Skip to main content
The Synto Mobile AI agent can execute a wide range of blockchain operations through natural language commands. This page details all available capabilities organized by category.

Token operations

Manage your Solana tokens with simple commands:
Send SOL or SPL tokens to any address.Natural language examples:
  • “Send 1 SOL to [address]”
  • “Transfer 100 USDC to [address]”
  • “Send tokens to [address]”
What it does:
  • Transfers native SOL or any SPL token
  • Validates recipient address format
  • Confirms amount before sending
Parameters:
  • to - Recipient wallet address (required)
  • amount - Amount to send (required)
  • mint - Token mint address (optional, defaults to SOL)
Source: utils/syntoUtils/agent/plugins/plugin-token/solana/actions/transfer.ts:6
View your SOL balance or all token balances.Natural language examples:
  • “What’s my balance?”
  • “Show my SOL balance”
  • “List all my tokens”
What it does:
  • Returns SOL balance in lamports and SOL
  • Shows all SPL token balances
  • Includes token metadata when available
Available methods:
  • get_balance - Your SOL balance
  • get_balance_other - Another wallet’s balance
  • get_token_balance - Specific token balance
Get information about any token on Solana.Natural language examples:
  • “Get token data for USDC”
  • “Show me info about [token address]”
  • “What’s the price of SOL?”
What it does:
  • Fetches token metadata from DexScreener
  • Looks up tokens by ticker symbol
  • Returns current market data
Integrations:
  • DexScreener API for market data
  • Jupiter API for price feeds
Clean up empty token accounts to reclaim rent.What it does:
  • Finds token accounts with zero balance
  • Closes accounts to reclaim SOL rent
  • Returns reclaimed amount
Source: utils/syntoUtils/agent/plugins/plugin-token/solana/actions/closeEmptyTokenAccounts.ts

Trading and swaps

Execute token swaps using Jupiter Exchange:
Swap any token for anotherThe agent uses Jupiter Exchange to find the best price across all Solana DEXs.
// Example: Swap 1 SOL for USDC
{
  outputMint: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  inputAmount: 1
}
Natural language:
  • “Swap 1 SOL for USDC”
  • “Exchange 100 USDC to SOL”
  • “Trade tokens”
Source: utils/syntoUtils/agent/plugins/plugin-token/jupiter/actions/trade.ts:6
Always review swap details before confirming. The agent will show you the estimated output amount and required approvals.

DeFi operations

Access decentralized finance protocols through the agent:

Lending with Rainfi

Borrow assets using your crypto as collateral

Loan quotes

Calculate loan terms before borrowing

Repay loans

Pay back borrowed amounts plus interest

Active loans

View all your current loan positions

Rainfi integration

The agent integrates with Rainfi for decentralized lending:
Calculate how much you can borrow and the terms.Parameters:
  • amountIn - Collateral amount in lamports
  • currencyIn - Collateral token address
  • currencyOut - Token you want to borrow
  • borrower - Your wallet address (auto-filled)
Returns:
  • Loan amount
  • Duration (typically 7 days)
  • Interest rate
  • APR
  • Rainfi fees
  • Authorization token for borrowing
// Example: Borrow USDC using SOL collateral
{
  amountIn: 1000000000,  // 1 SOL
  currencyIn: "So11111111111111111111111111111111111111112",
  currencyOut: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
}
Source: utils/syntoUtils/agent/plugins/plugin-defi/rainfi/actions/quoteLoanCalculator.ts:5
Execute a loan transaction based on a quote.What it does:
  1. Takes your quote authorization
  2. Builds the loan transaction
  3. Deposits your collateral
  4. Receives borrowed tokens
Natural language:
  • “Borrow USDC with my SOL”
  • “Take out a loan”
  • “Execute this loan quote”
You must get a loan quote first before creating the loan.
See all your current loan positions.What it shows:
  • Loan amounts
  • Collateral locked
  • Interest accrued
  • Repayment due dates
  • Health ratios
Natural language:
  • “Show my loans”
  • “What loans do I have?”
  • “Check my borrowing positions”
Pay back borrowed amounts to reclaim collateral.What it does:
  • Calculates total repayment (principal + interest)
  • Transfers repayment tokens
  • Returns your collateral
  • Closes the loan position
Natural language:
  • “Repay my loan”
  • “Pay back my USDC loan”
  • “Close this loan position”
Source: utils/syntoUtils/agent/plugins/plugin-defi/rainfi/actions/RepayLoan.ts

Blockchain utilities

Useful Solana blockchain operations:
Get Solana network statistics
  • Current TPS (transactions per second)
  • Network performance metrics
  • Cluster information
Natural language:
  • “What’s the current TPS?”
  • “Show network stats”
  • “How fast is Solana?”
Source: utils/syntoUtils/agent/plugins/plugin-token/solana/actions/getTPS.ts

Staking operations

Stake tokens to earn rewards:
JUP token stakingStake JUP tokens to participate in governance and earn rewards.What it does:
  • Stakes JUP tokens in Jupiter’s staking program
  • Earns staking rewards
  • Maintains voting power for governance
Natural language:
  • “Stake my JUP tokens”
  • “Stake with Jupiter”
Source: utils/syntoUtils/agent/plugins/plugin-token/jupiter/actions/stakeWithJup.ts

Configuration options

The agent supports various configuration options to customize behavior:
OptionDescriptionDefault
JUPITER_REFERRAL_ACCOUNTYour referral account for Jupiter swapsNone
JUPITER_FEE_BPSFee in basis points for Jupiter0
PRIORITY_LEVELTransaction priority fee levelmedium
signOnlyOnly sign transactions, don’t broadcastfalse
Priority levels: medium, high, veryHigh. Higher priority = faster execution but higher fees.

Action validation

All agent actions use Zod schemas for input validation:
  • Address validation - Ensures valid Solana addresses (32+ characters)
  • Amount validation - Requires positive numbers
  • Slippage bounds - Limits slippage to 0-10000 bps (0-100%)
  • Type safety - Full TypeScript type checking
Invalid inputs will be rejected before any blockchain interaction occurs.

What’s next

Plugin architecture

Learn how plugins power the agent

Agent overview

Understand the core architecture

Build docs developers (and LLMs) love