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

# Workspaces

> Configure workspace networks and transfer policy for API-driven wallet operations.

A workspace scopes wallet operations, API keys, webhooks, balances, transfer policies, and environment settings.

## Environments

Environment-scoped routes accept the value in the following format:

```text theme={null}
?environment=sandbox
```

currently supported values are `sandbox` and `live`. The default is `sandbox`.

`sandbox` should be used while testing the wallet and transfer flows + payments.
While `live` is reserved explicitly for production operations.

## Networks

By default, not all networks are available for usage, you will need to enable them as need fit for your usecase.

Use `GET /v1/workspace/networks` and `PUT /v1/workspace/networks` to read and update enabled transfer networks.

```json theme={null}
{
  "enabled_networks": ["ethereum_sepolia"]
}
```

## Transfer policies

Workspaces can determine certain workflows before a transfer can be sent. You can use policies to block addresses,
allow whitelisting to only known addresses

Use `GET /v1/workspace/transfer-policy` and `PUT /v1/workspace/transfer-policy` to manage allowed and blocked destination address lists.

```json theme={null}
{
  "allowed_destination_addresses": ["0xabc..."],
  "blocked_destination_addresses": []
}
```
