> ## Documentation Index
> Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Blockchain Wallet

> View and activate your on-chain wallet

## Get blockchain wallet info

<div className="font-mono text-sm mb-4">GET /wallets/blockchain</div>

```bash theme={null}
curl https://api.midasprotocol.org/wallets/blockchain \
  -H "Authorization: Bearer pp_your_key"
```

**Response:**

```json theme={null}
{
  "configured": true,
  "network": "base",
  "address": "0x...",
  "onChainBalances": { "USDC": "100.00", "ETH": "0.001" },
  "depositInfo": {
    "address": "0x...",
    "network": "base",
    "supportedTokens": ["USDC"]
  }
}
```

***

## Activate blockchain wallet

<div className="font-mono text-sm mb-4">POST /wallets/activate-blockchain</div>

If your agent doesn't have an on-chain wallet yet, call this to generate one.

```bash theme={null}
curl -X POST https://api.midasprotocol.org/wallets/activate-blockchain \
  -H "Authorization: Bearer pp_your_key"
```

**Response:**

```json theme={null}
{
  "status": "activated",
  "blockchainAddress": "0x...",
  "network": "base",
  "depositInfo": { ... }
}
```
