Plugin structure
The Token Plugin is organized into three main modules:Solana tools
Core wallet and token operations
Jupiter tools
Token swaps and liquid staking
DEXScreener tools
Token data and price information
Installation
The Token Plugin is included by default in Synto Mobile. It’s automatically initialized with the agent:Available methods
The Token Plugin exposes the following methods through the agent:Solana operations
Get the balance of SOL or SPL tokens for the agent’s wallet
Get the balance of any wallet address (not just the agent’s)
Get detailed token balances including names, symbols, and decimals
Transfer SOL or SPL tokens to a recipient
Get the agent’s wallet address as a base58 string
Request SOL from faucet (devnet/testnet only)
Get current Solana network transactions per second
Close empty SPL token accounts to reclaim rent
Jupiter integration
Swap tokens using Jupiter Exchange aggregator
Stake SOL with Jupiter to receive jupSOL liquid staking tokens
Fetch token price in USDC from Jupiter API
DEXScreener integration
Get comprehensive token data from DEXScreener by mint address
Look up token mint address from ticker symbol
Quick examples
Check SOL balance
Transfer tokens
Swap tokens
Actions
The plugin includes AI-friendly actions that can be triggered by natural language:- BALANCE_ACTION: Check wallet and token balances
- TRANSFER: Send SOL or SPL tokens
- TRADE: Swap tokens using Jupiter
- STAKE_WITH_JUPITER: Stake SOL for jupSOL
- FETCH_PRICE: Get token prices
- GET_TOKEN_DATA: Fetch token information from DEXScreener
Actions are automatically registered when the plugin initializes and can be invoked through the agent’s natural language interface.
Error handling
All Token Plugin functions throw descriptive errors that can be caught and handled:Next steps
Balance operations
Learn about checking and managing token balances
Transfer functions
Transfer SOL and SPL tokens
Jupiter integration
Swap and stake with Jupiter Exchange
DeFi plugin
Explore DeFi lending and borrowing