Enclave API Documentation
  • Welcome
  • Getting Started
    • Integrations
  • SDK
  • Integrating with Privy
  • Models
    • Passkey Models
    • Transaction Models
    • User Model
    • Smart Balance
  • API Reference
    • Health Check
    • User Details
    • Smart Balance
    • Smart Account Creation
    • Smart Account Transactions
    • Passkey Account Creation
    • Passkey Account Authentication
    • Passkey Account Transactions
    • Session Key
  • COMING SOON
    • SDKs
    • Network Support
    • Protocol Integration
    • Mobile Integration
    • Custom Integration
Powered by GitBook
On this page
  1. API Reference

Smart Account Creation

Smart accounts linked to EOAs as primary signers

PreviousSmart BalanceNextSmart Account Transactions

Last updated 6 months ago

Create EOA-based smart accounts

post
Body
eoaAddressstringRequired

The EOA address to create smart accounts for

Responses
200
Smart accounts created successfully
application/json
post
POST /smart-account/create HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 59

{
  "eoaAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
}
200

Smart accounts created successfully

{
  "username": "550e8400-e29b-41d4-a716-446655440000",
  "wallet": {
    "type": "EOA",
    "scw_address": "0x123...",
    "multi_scw": [
      {
        "network": 8453,
        "address": "0x123...",
        "deployed": false
      }
    ],
    "eoa_address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
  }
}