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.
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
json{ "type": "polymarket-get-balance", "payload": {}, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -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": {}}'
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.
