Management API

Wallet Management API

Overview

Endpoints for creating and managing different types of blockchain wallets.

Create Wallet

Create a new wallet with specified type and network.

POST api.bloclabs.com/v1/wallets/create

Request

{
    "type": "mpc",              // "mpc", "hd", "imported"
    "network": "ethereum",      // "ethereum", "polygon", "binance"
    "label": "Trading Wallet",  // Optional wallet label
    "environment": "mainnet"    // "mainnet", "testnet"
}

Response

{
    "status": "success",
    "data": {
        "wallet_id": "wallet_xyz123",
        "address": "0x123...abc",
        "type": "mpc",
        "network": "ethereum",
        "label": "Trading Wallet",
        "created_at": "2024-03-15T10:00:00Z"
    }
}

Add Watch Wallet

Add a watch-only wallet for monitoring addresses.

Request

Response

Get User Wallets

Retrieve all wallets associated with the user.

Query Parameters

Response

Get Wallet Details

Retrieve detailed information about a specific wallet.

Response

Delete Wallet

Remove a wallet from your account.

Request

Response

Error Responses

Invalid Request

Wallet Not Found

Authorization Error

Notes

  • All requests require authentication via Bearer token

  • Rate limits apply to all endpoints

  • Wallet IDs are unique and immutable

  • Watch wallets can't perform transactions

Last updated

Was this helpful?