Back to Knowledge Directory
Solana & Web3
Solana Agent Kit
Connect any AI framework to Solana protocols for token deployment, swaps, NFT minting, and staking.
Available API Actions (3)
Structured function definitions and payload specifications for AI agent tool execution.
ON_CHAINdeploy_token
Deploy a new SPL token or meme coin on Solana with customizable supply and metadata.
PARAMETERS SCHEMA
| Param Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Name of the token |
| symbol | string | Yes | Token ticker symbol |
| initialSupply | number | Yes | Total initial mint supply |
| decimals | number | Optional | Token decimals (default 9) |
SAMPLE INVOCATION PAYLOAD
{
"name": "ARCHI Agent Token",
"symbol": "ARCHI",
"initialSupply": 1000000000,
"decimals": 9
}ON_CHAINswap_tokens
Execute token swaps via Jupiter DEX aggregator with optimal routing.
PARAMETERS SCHEMA
| Param Name | Type | Required | Description |
|---|---|---|---|
| inputMint | string | Yes | Input token mint address |
| outputMint | string | Yes | Output token mint address |
| amount | number | Yes | Amount to swap |
| slippageBps | number | Optional | Max allowed slippage in basis points |
SAMPLE INVOCATION PAYLOAD
{
"inputMint": "So11111111111111111111111111111111111111112",
"outputMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": 1000000000,
"slippageBps": 50
}GETget_balance
Retrieve SOL and SPL token balances for a wallet public key.
PARAMETERS SCHEMA
| Param Name | Type | Required | Description |
|---|---|---|---|
| publicKey | string | Yes | Solana wallet address |
SAMPLE INVOCATION PAYLOAD
{
"publicKey": "7v9W...xQ8z"
}