Skip to main content

Overview

The Private Ephemeral SPL Token API allows you to build transactions with MagicBlock. This API provides endpoints to manage ephemeral token accounts, deposits, withdrawals, and delegation operations. Base URL: https://privacy.magicblock.app API Version: 0.1.0

Main Operations

Health & Configuration

  • Root - Check API health
  • Get Config - Retrieve API configuration settings

Transactions

Response Format

Transaction Responses (POST endpoints)

All successful POST responses return a transaction object with the following structure:
{
  "transaction": "base64-encoded-transaction",
  "message": "Transaction created successfully"
}

Status Responses (GET endpoints)

GET endpoints return configuration and status information specific to each endpoint.