Overview
Agents are Solana wallet keypairs that can be used to sign transactions and interact with the Solana blockchain. Each agent has a unique public key and an encrypted private key.List Agents
Response
List of agent objects
Create Agent
Creates a new Solana wallet agent with a generated keypair.Request Body
Display name for the agent
- Minimum length: 2 characters
- Maximum length: 80 characters
Response
Unique identifier for the created agent
Display name of the agent
Solana public key (base58 encoded)
Base64-encoded private key
ISO 8601 timestamp
Initial balance in SOL (typically 0)
Initial balance in lamports
Network identifier
Security warning about storing the private key
Fund Agent on Devnet
Request an airdrop of SOL to an agent’s wallet on Solana Devnet. This is useful for testing.Path Parameters
The ID of the agent to fund
Request Body
Amount of SOL to request (default: 1.0)
- Minimum: 0.01 SOL
- Maximum: 2 SOL
Response
Agent identifier
Network name (“solana-devnet”)
Amount of SOL requested
Transaction signature
Solana Explorer URL for the transaction
Agent’s public key
Updated balance in SOL
Updated balance in lamports
Error Response
If the airdrop fails (e.g., rate limit exceeded), you’ll receive a 400 response:Devnet airdrops are rate-limited by Solana. If you encounter errors, wait a few minutes before retrying.
Error Codes
| Status | Error | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key |
| 404 | agent_not_found | Agent doesn’t exist or not owned by authenticated user |
| 400 | Error message | Devnet funding failed (e.g., rate limit) |