> ## 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 Get Balance

Get pUSD balance for Polymarket trading. Returns the pUSD collateral balance available for placing orders and allowance status. Ideal for: balance monitoring, pre-trade checks, portfolio overview, automated trading workflows.

![Polymarket Get Balance logo](https://cdn.b3.fun/b3os-icons/polymarket-icon.png)
Catalog action Utility wallet

Get pUSD balance for Polymarket trading. Returns the pUSD collateral balance available for placing orders and allowance status. Ideal for: balance monitoring, pre-trade checks, portfolio overview, automated trading workflows.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `polymarket-get-balance` |
| Category | Utility |
| Connector | `wallet` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `polymarket`, `balance`, `portfolio`, `read` |

## Payload Schema

This action does not declare payload fields.

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `balance` | `string` | Yes | Raw pUSD balance in smallest units \(6 decimals, raw units\) |
| `balanceFormatted` | `number` | Yes | pUSD balance \(human-readable\) |
| `allowance` | `string` | No | Current pUSD spending allowance for CTF Exchange \(raw units, 6 decimals\) |
| `walletAddress` | `string` | No | The wallet address queried |

## Examples

**Workflow node**

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

```bash
curl -X POST "https://api.b3os.org/v1/actions/polymarket-get-balance/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.