> For the complete documentation index, see [llms.txt](https://docs.hydromancer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hydromancer.xyz/readme/rest-api/outcomes/outcomedeployerlimits.md).

# outcomeDeployerLimits

Returns a venue's remaining outcome-deployment allowance: how many more outcomes it may deploy today, and how many more it may hold active at once.

Use it to check whether a venue can still deploy before submitting a `registerOutcome` action.

`venue` must be 2-4 lowercase ASCII letters — the same naming rule as HIP-3 perp DEX names. Anything else is rejected with a `400`; note that venue names are case-sensitive, so `OUT` is not a valid spelling of `out`.

<table><thead><tr><th width="115">Field</th><th width="177">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>type</code></td><td>string</td><td>Must be <code>"outcomeDeployerLimits"</code></td></tr><tr><td><code>venue</code></td><td>string</td><td>Venue name — 2-4 lowercase ASCII letters (required)</td></tr></tbody></table>

## Request

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "outcomeDeployerLimits",
    "venue": "out"
  }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
import os
import json

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'outcomeDeployerLimits',
        'venue': 'out'
    },
    headers={
        'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
        'Content-Type': 'application/json'
    }
)
print(json.dumps(response.json(), indent=2))
```

{% endtab %}

{% tab title="Javascript" %}

```javascript
import axios from 'axios';

const response = await axios.post(
  'https://api.hydromancer.xyz/info',
  {
    type: 'outcomeDeployerLimits',
    venue: 'out'
  },
  {
    headers: {
      'Authorization': `Bearer ${process.env.HYDROMANCER_API_KEY}`,
      'Content-Type': 'application/json'
    }
  }
);

console.log(JSON.stringify(response.data, null, 2));
```

{% endtab %}
{% endtabs %}

***

## Response Fields

The venue must exist. An unknown venue is not reported as an empty result — the node rejects the query and the request fails with `500`.

| Field                      | Type | Description                                                    |
| -------------------------- | ---- | -------------------------------------------------------------- |
| `nDailyOutcomesRemaining`  | int  | Outcomes the venue may still deploy during the current day     |
| `nActiveOutcomesRemaining` | int  | Additional outcomes the venue may hold active at the same time |

Both counters are live and move as the venue deploys and as its outcomes settle.

<details>

<summary>Response</summary>

```json
{
  "nDailyOutcomesRemaining": 435,
  "nActiveOutcomesRemaining": 2
}
```

</details>
