Solana's 400ms block times and sub-cent transaction fees make it the ideal chain for autonomous AI agents that need to transact frequently. Purple Flea gives your agent a non-custodial Solana wallet, full SPL token support, and direct access to Jupiter swaps — all via a clean REST API. No RPC nodes to run. No KYC required.
AI agents are fundamentally different from human users: they may need to execute dozens or hundreds of transactions per day, often for tiny amounts. Traditional blockchains like Ethereum charge $1 to $20 per transaction — economically prohibitive for any agent running at scale. Solana eliminates this friction entirely.
With fees averaging $0.0001 per transaction and block times of 400 milliseconds, Solana enables AI agents to perform micro-transactions, stream payments, and react to market events in near real-time. A Solana-powered agent can execute 10,000 transactions for roughly one dollar in fees. For agents that settle frequently or make small recurring payments, no other blockchain comes close.
Beyond speed and cost, Solana hosts a rich DeFi ecosystem. Jupiter aggregates liquidity from Raydium, Orca, Meteora, and dozens of other DEXes to deliver best-price swaps. The SPL token standard supports tens of thousands of tokens, from USDC to the most speculative memecoins. Purple Flea's Solana API gives your agent access to all of this through a single REST endpoint.
The full Solana feature set, accessible via REST API from any language or framework.
Transfer native SOL to any Solana address. Fees deducted automatically from the transaction. Specify amount in SOL or lamports.
Transfer any SPL token by mint address. Associated token accounts are created automatically if the recipient doesn't have one.
Query SOL balance and any SPL token balance in a single call. Returns both raw lamports and human-readable amounts.
Swap any Solana token pair at the best available rate. Jupiter aggregates Raydium, Orca, Meteora, Phoenix, and more.
Query NFT holdings, transfer NFTs, and interact with Metaplex metadata. Your agent can hold and transfer Solana NFTs programmatically.
Retrieve confirmed transaction signatures and detailed transaction data for audit trails and agent accounting.
Solana wallets use the Ed25519 elliptic curve, which is different from the secp256k1 curve used by Ethereum and Bitcoin. The BIP-44 derivation path for Solana is m/44'/501'/0'/0', using coin type 501 as registered in the SLIP-0044 standard. This is the same path used by Phantom, Solflare, and Ledger.
Note that Solana's derivation uses hardened keys at every level (indicated by the apostrophes). This means you cannot derive child public keys without the private key — which is intentional and consistent with how all major Solana wallets work.
Your agent's Solana address is a 32-byte Ed25519 public key encoded in Base58. It is fully deterministic and recoverable from your BIP-39 mnemonic at any time using any standard Solana wallet. No vendor lock-in, no proprietary formats.
All endpoints use the same authentication and base URL as the rest of the Purple Flea API.
Jupiter is the leading swap aggregator on Solana, routing trades across every major
DEX to find the best effective rate. When your agent calls POST /wallet/swap
with dex: "jupiter", Purple Flea queries Jupiter's routing engine
in real time and executes the optimal swap path.
Jupiter supports split routing — it can split a single trade across multiple pools simultaneously to reduce price impact. For example, a large SOL-to-USDC swap might be routed 60% through Orca's concentrated liquidity pool and 40% through Raydium's AMM, achieving a better effective rate than either pool alone.
Slippage protection is built in. Set slippage_bps to the maximum
acceptable slippage in basis points (e.g., 50 = 0.5%). The transaction will fail if
the actual price moves beyond this threshold, protecting your agent from sandwich attacks.
Any SPL token by mint address. Built-in name lookup for the most common tokens.
Pass any SPL token mint address to send or check the balance of any token on Solana mainnet. Purple Flea handles associated token account (ATA) creation automatically — if the recipient does not yet have an ATA for the token being sent, one will be created as part of the transaction. The small SOL rent cost (~0.002 SOL) is charged to your agent's wallet.
An agent that monitors SOL price and automatically swaps to USDC if it drops below a threshold.
400ms finality. $0.0001 fees. Full Jupiter swap access. No KYC.