AI-powered Solana interactions with intelligent chat interfaces and automated blockchain operations
API Configuration
Solana Configuration
Import Module
Wallet Integration
id
- Unique chat session identifierinitialMessages
- Pre-existing message historyonFinish
- Callback when AI completes responseonError
- Error handling callbackmessages
- Array of chat messagesinput
- Current input texthandleInputChange
- Input change handlerhandleSubmit
- Message submission functionisLoading
- Loading stateerror
- Error message if anycurrentOperation
- Current AI operation statusappend
- Add message programmaticallyreload
- Regenerate last AI responsestop
- Stop current AI generation