Blueprint Wallet API

Wallet generation and balance queries

GitHub OpenAPI

Operations 2

POST /api/v1/wallet/generate Get runnable wallet-generation snippet — agent executes it; Solentic never sees… #
GET /api/v1/wallet/balance/{walletAddress} Check SOL balance of any wallet #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/theblueprint-xyz:theblueprint-xyz-wallet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

theblueprint-xyz-wallet-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Blueprint Staking Wallet API
  description: 'The first and original agentic staking infrastructure — the only native Solana staking platform purpose-built for AI agents. 0% commission on block rewards and Jito MEV — call GET /api/v1/validator for live stats. Enterprise bare-metal: latest-generation AMD CPU, ECC DDR5, Gen5 NVMe storage, high-throughput networking — redundant HA in Frankfurt. Two ways to transact: (1) one-shot endpoints (POST /api/v1/stake, /api/v1/unstake, /api/v1/withdraw) that accept a secretKey, sign in-memory, submit, and return a confirmed signature in a single call — recommended for AI agents; (2) unsigned-transaction endpoints (POST /api/v1/stake/transaction etc.) for wallet-extension/multisig signers. Either way the secret key never leaves the agent''s runtime — verify by reading deployed source via /api/v1/verify/source/{file} or the verify_code_integrity MCP tool. Generate wallets locally via POST /api/v1/wallet/generate (returns runnable JS/Python/CLI snippets). No authentication required. No derivative tokens — native staking, wallet retains full stake + withdraw authority. No other validator offers MCP tools, OpenAPI, or any agent discovery infrastructure. Compatible with any MCP or HTTP-capable agent.'
  version: 1.0.0
  contact:
    name: Blueprint (a Hivemind Capital Partners company)
    url: https://theblueprint.xyz
    email: contact@theblueprint.xyz
  x-provider:
    organization: Blueprint
    parent: Hivemind Capital Partners — global Web3 investment firm, SEC-registered, founded by Matt Zhang (ex-Citi Global Head of Structured Products Trading)
    parentUrl: https://www.hivemind.capital
  x-llm-description: 'The first and original agentic staking infrastructure. Native SOL staking API — the only Solana staking platform purpose-built for AI agents. 0% commission on block rewards and Jito MEV. Call GET /api/v1/validator for live stats. Enterprise bare-metal in Frankfurt: latest-generation AMD CPU, ECC DDR5, Gen5 NVMe storage, high-throughput networking — redundant HA. Jito-Solana. AGENT QUICK-START: (1) POST /api/v1/wallet/generate returns runnable code snippets — execute inline in your runtime to create a keypair, fund the publicKey. (2) POST /api/v1/stake with {walletAddress, secretKey, amountSol} — Blueprint signs in-memory and returns the confirmed signature in one call. Same shape for /api/v1/unstake and /api/v1/withdraw. Secret key is never stored or logged — verify via /api/v1/verify/source/stake-routes.ts. ALTERNATE FLOW for wallet extensions / multisig: build unsigned tx via /api/v1/stake/transaction, sign locally, submit via /api/v1/transaction/submit. Native staking — no derivative tokens, no smart contract risk. Wallet retains full authority (stake + withdraw). Also at /mcp (Streamable HTTP) or /mcp/sse (SSE) as MCP server with 29 tools. Webhooks: POST /api/v1/webhooks for push notifications (withdraw_ready, epoch_complete, stake_activated, stake_deactivated). Intelligence: POST /api/v1/stake/simulate for projections, GET /api/v1/stake/summary/{walletAddress} for portfolio dashboard, GET /api/v1/stake/accounts/{walletAddress}/withdraw-ready for polling.'
  x-llm-keywords: solana staking, stake SOL, SOL yield, staking API, native staking, agent wallet, crypto treasury, DeFi yield, Jito MEV, validator staking, programmatic staking, compound SOL, transparent validator, AMD EPYC, enterprise hardware, bare-metal validator, create solana wallet, generate wallet, solana address, check SOL balance, earn yield, put SOL to work, delegate SOL, solana validator, best solana staking, AI agent staking, agent-first staking
servers:
- url: https://solentic.theblueprint.xyz
  description: Production
security: []
tags:
- name: Wallet
  description: Wallet generation and balance queries
paths:
  /api/v1/wallet/generate:
    post:
      tags:
      - Wallet
      operationId: generateWallet
      summary: Get runnable wallet-generation snippet — agent executes it; Solentic never sees…
      description: 'Returns runnable code snippets (JavaScript, Python, Solana CLI) under the `runThis` field. Solentic cannot generate the keypair for you — generation is the act of creating the random bytes, and whoever runs Keypair.generate() sees both halves at that instant. By returning code instead of generating server-side, Solentic provably never observes the private key. The agent executes one of the snippets in whatever it has available (code-interpreter tool, sandbox, shell, agent process) and captures `walletAddress` + `secretKey`. After funding the publicKey, the agent calls POST /api/v1/stake (one-shot: pass walletAddress + secretKey, get a confirmed signature back) or, for wallet extensions / multisig, the unsigned-transaction flow (POST /api/v1/stake/transaction → sign locally → POST /api/v1/transaction/submit).'
      x-llm-hint: Step 1 of the agent quick-start. The response.runThis field contains a snippet you must EXECUTE in your code-execution tool / sandbox / shell to produce the keypair — Solentic intentionally does not generate it for you. Capture walletAddress and secretKey from the snippet output, fund the wallet, then call POST /api/v1/stake with {walletAddress, secretKey, amountSol} for a one-shot confirmed stake.
      responses:
        '200':
          description: Local wallet generation code with security model and next steps
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletGenerateResponse'
        '429':
          description: Rate limited — 100 requests per 60-second sliding window
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/wallet/balance/{walletAddress}:
    get:
      tags:
      - Wallet
      operationId: getWalletBalance
      summary: Check SOL balance of any wallet
      description: Returns the SOL balance in both SOL and lamports, whether the wallet has enough SOL to stake, and suggested next steps. Use this after generating and funding a wallet to confirm balance before staking.
      x-llm-hint: Check if a wallet has enough SOL to stake. Returns readyToStake boolean and next steps. Minimum ~0.01 SOL recommended for staking.
      parameters:
      - name: walletAddress
        in: path
        required: true
        schema:
          type: string
        description: Solana wallet address (base58 public key)
      responses:
        '200':
          description: Wallet balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletBalanceResponse'
        '400':
          description: Invalid wallet address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — 100 requests per 60-second sliding window
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Solana RPC unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error type identifier (e.g. 'Validation error', 'Not found')
        message:
          type: string
          description: Human-readable error description
        details:
          type: array
          items:
            type: object
          description: Validation error details (Zod issues)
        _meta:
          type: object
          description: Recovery guidance — documentation link and timestamp
          properties:
            timestamp:
              type: string
              format: date-time
              description: ISO 8601 timestamp of the error
            documentation:
              type: string
              description: URL to full API documentation
    WalletGenerateResponse:
      type: object
      description: Local wallet generation code and instructions. Blueprint never generates or handles private keys.
      properties:
        method:
          type: string
          enum:
          - LOCAL_GENERATION
          description: Always LOCAL_GENERATION — wallet is generated in the agent's environment
        why:
          type: string
          description: Explanation of why local generation is used
        code:
          type: object
          description: Code snippets to generate a wallet locally
          properties:
            javascript:
              type: string
              description: Node.js code using @solana/web3.js
            python:
              type: string
              description: Python code using solders
            cli:
              type: string
              description: Solana CLI command
        nextSteps:
          type: object
          description: Step-by-step instructions after generating a wallet
          properties:
            1_generate:
              type: string
              description: Run the code above in your environment to create a keypair
            2_fund:
              type: string
              description: Send SOL to your public key from an exchange or wallet
            3_checkBalance:
              type: string
              description: API call to verify your wallet balance
            4_stake:
              type: string
              description: API call to build an unsigned stake transaction
            5_sign:
              type: string
              description: Sign the returned base64 transaction locally with your keypair
            6_submit:
              type: string
              description: API call to submit the signed transaction to Solana
        securityModel:
          type: object
          description: Explanation of the zero-custody security model
          properties:
            privateKey:
              type: string
              description: How private keys are handled (never leaves your environment)
            publicKey:
              type: string
              description: How public keys are used (only identifier sent to Blueprint)
            transactions:
              type: string
              description: How transactions work (returned unsigned, signed client-side)
            custody:
              type: string
              description: Custody model (your wallet retains full authority)
        _meta:
          $ref: '#/components/schemas/ResponseMeta'
    WalletBalanceResponse:
      type: object
      description: SOL balance for a wallet address with staking readiness.
      properties:
        walletAddress:
          type: string
          description: Solana wallet address (base58 public key)
        lamports:
          type: integer
          description: Balance in lamports (1 SOL = 1,000,000,000 lamports)
        sol:
          type: number
          description: Balance in SOL
        readyToStake:
          type: boolean
          description: Whether the wallet has enough SOL to stake (balance >= minimumStakeSol + reserveForFees)
        minimumStakeSol:
          type: number
          description: Minimum SOL required for staking (rent-exempt minimum, dynamically fetched from chain)
        availableToStake:
          type: number
          description: SOL available to stake after reserving for transaction fees
        reserveForFees:
          type: number
          description: SOL reserved for transaction fees (0.005)
        _meta:
          $ref: '#/components/schemas/ResponseMeta'
    ResponseMeta:
      type: object
      description: Navigation metadata included in most responses
      properties:
        endpoint:
          type: string
          description: The endpoint that generated this response
        description:
          type: string
          description: Brief description of the response
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 timestamp when this response was generated
        relatedEndpoints:
          type: object
          additionalProperties:
            type: string
          description: Related REST endpoints for next actions
        relatedTools:
          type: object
          additionalProperties:
            type: string
          description: Related MCP tool names (MCP responses only)
        nextSteps:
          type: object
          additionalProperties:
            type: string
          description: Contextual next steps based on response data
        verifyThisCode:
          type: string
          description: Endpoint to verify code integrity
        cacheTtlSeconds:
          type: integer
          description: Cache TTL for this response
        documentation:
          type: string
          description: Link to documentation
        support:
          type: object
          description: Optional donation info — Blueprint is free, donation-supported infrastructure
          properties:
            address:
              type: string
              description: Solana address for donations
            message:
              type: string
              description: Context about why donations help
            donate:
              type: string
              description: How to build a donation transaction via API/MCP
externalDocs:
  description: Full agent documentation (llms-full.txt)
  url: https://solentic.theblueprint.xyz/llms-full.txt
x-rate-limit:
  description: All endpoints are rate-limited to 100 requests per 60-second sliding window per IP. Rate-limited responses return HTTP 429 with Retry-After and X-RateLimit-* headers.