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

# Polymarket: Setup Deposit Wallet

Deploy a Polymarket deposit wallet (via relayer) and set ERC20/ERC1155 approvals for trading. Ideal for: initial Polymarket deposit wallet onboarding.

![Polymarket: Setup Deposit Wallet logo](https://cdn.b3.fun/b3os-icons/polymarket-icon.png)
Catalog action EVM Onchain wallet

Deploy a Polymarket deposit wallet (via relayer) and set ERC20/ERC1155 approvals for trading. Ideal for: initial Polymarket deposit wallet onboarding.

**Review wallet and value movement**

This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.

## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `polymarket-setup-deposit-wallet` |
| Category | EVM Onchain |
| Connector | `wallet` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `polymarket`, `wallet`, `write` |

## Payload Schema

This action does not declare payload fields.

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `depositWalletAddress` | `string` | Yes | Deployed deposit wallet contract address |
| `deploymentStatus` | `string` | Yes | Deployment status: deployed or already_deployed |
| `batchTxHash` | `string` | No | Transaction hash of the approval batch execution |

## Examples

**Workflow node**

```json
{
  "type": "polymarket-setup-deposit-wallet",
  "payload": {},
  "children": [],
  "connector": {
    "type": "wallet",
    "id": "conn_wallet"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/polymarket-setup-deposit-wallet/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {}
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.