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

# accounts

> Proxy wallet creation from the Polymarket DepositWalletFactory and Gnosis Safe factory contracts.

The `accounts` channel sends every proxy wallet creation event. They come from the DepositWalletFactory (deposit wallets) and the Gnosis Safe factory (smart-wallet proxies). We decode each one and send it after the transaction is confirmed on-chain.

## Subscribe

```json theme={null}
{
  "action": "subscribe",
  "id": "s1",
  "channel": "accounts"
}
```

With no filters, you get every confirmed wallet creation event.

## Filters

| Filter    | Type       | Required | Description                                                                           |
| --------- | ---------- | -------- | ------------------------------------------------------------------------------------- |
| `wallets` | `string[]` | No       | Hex addresses (`0x…`). Keeps events for a listed new wallet, owner, or proxy address. |

This channel accepts only `wallets`. `market_ids`, `token_ids`, and `min_usd` are ignored here. See [Filters](/websockets/filters) for the combination rule.

## Events

This channel sends both wallet-factory events.

| Event            | `data.type`       | Description                                                                                                       |
| ---------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------- |
| `WalletDeployed` | `wallet_deployed` | A new deposit wallet deployed via DepositWalletFactory. Links the wallet address to its owner and implementation. |
| `ProxyCreation`  | `proxy_creation`  | A new Gnosis Safe proxy deployed. Tracks smart-wallet creation for institutional participants.                    |

## Payloads

Every frame wraps the event in the standard envelope (`type`, `id`, `channel`, `confirmed`, `data`) shown on [Frames](/websockets/frames). Below, each block is the `data` object for one event — its `type` discriminator plus every field the ABI decodes. A full frame looks like:

```json theme={null}
{
  "type": "event",
  "id": "s1",
  "channel": "accounts",
  "confirmed": true,
  "data": {
    "type": "wallet_deployed",
    "wallet": "0x…",
    "owner": "0x…",
    "…": "…"
  }
}
```

### `wallet_deployed`

`WalletDeployed` from the DepositWalletFactory. A new deposit wallet, linked to its owner and implementation.

```json theme={null}
{
  "type": "wallet_deployed",
  "wallet": "0x…",
  "owner": "0x…",
  "id": "0x…",
  "implementation": "0x…"
}
```

| Field            | Solidity type   | Description                                |
| ---------------- | --------------- | ------------------------------------------ |
| `type`           | string          | `wallet_deployed`.                         |
| `wallet`         | `address` (hex) | Address of the new deposit wallet.         |
| `owner`          | `address` (hex) | Owner of the new wallet.                   |
| `id`             | `bytes32` (hex) | Factory id (salt) for the wallet.          |
| `implementation` | `address` (hex) | Implementation contract behind the wallet. |

### `proxy_creation`

`ProxyCreation` from the Gnosis Safe factory. A new smart-wallet proxy. Both fields are unindexed on-chain.

```json theme={null}
{
  "type": "proxy_creation",
  "proxy": "0x…",
  "owner": "0x…"
}
```

| Field   | Solidity type   | Description                      |
| ------- | --------------- | -------------------------------- |
| `type`  | string          | `proxy_creation`.                |
| `proxy` | `address` (hex) | Address of the new proxy wallet. |
| `owner` | `address` (hex) | Owner the proxy was created for. |

## Pending feed

Set `confirmed: false` on your subscribe to get the pending feed of this channel — the same payload shape for pending transactions sent to the wallet-factory contracts, before they are in a block. Pending events are guesses. A transaction can be dropped, replaced, or reverted. See [Mempool](/websockets/mempool) for the full frame shape and how to handle it.

```json theme={null}
{
  "action": "subscribe",
  "id": "pending",
  "channel": "accounts",
  "confirmed": false
}
```
