Skip to main content

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

array
List of agent objects

Create Agent

Creates a new Solana wallet agent with a generated keypair.

Request Body

string
required
Display name for the agent
  • Minimum length: 2 characters
  • Maximum length: 80 characters

Response

string
Unique identifier for the created agent
string
Display name of the agent
string
Solana public key (base58 encoded)
string
Base64-encoded private key
This is only shown once. Store it securely immediately.
string
ISO 8601 timestamp
number
Initial balance in SOL (typically 0)
number
Initial balance in lamports
string
Network identifier
string
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

string
required
The ID of the agent to fund

Request Body

number
Amount of SOL to request (default: 1.0)
  • Minimum: 0.01 SOL
  • Maximum: 2 SOL

Response

string
Agent identifier
string
Network name (“solana-devnet”)
number
Amount of SOL requested
string
Transaction signature
string
Solana Explorer URL for the transaction
string
Agent’s public key
number
Updated balance in SOL
number
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