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

# Set Tiers

> Configure the Bronze, Silver, and Gold balance thresholds

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Sets the available-balance thresholds for the Bronze, Silver, and Gold tiers. A customer's tier is determined by their available balance only (staked and unvested tokens don't count).

Tier order from highest to lowest is Gold > Silver > Bronze. Customers below the Bronze threshold get tier `"None"`.

### Request Body

<ParamField body="bronze" type="number" required>
  Balance required for Bronze. Decimals allowed.
</ParamField>

<ParamField body="silver" type="number" required>
  Balance required for Silver
</ParamField>

<ParamField body="gold" type="number" required>
  Balance required for Gold
</ParamField>

### Response

<ResponseField name="tx_hash" type="string">
  Reference identifier for the configuration
</ResponseField>

```javascript theme={null}
await fetch("https://tokens.shakesco.com/set-tiers", {
  method: "POST",
  headers: { Authorization: `Bearer ${API_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ bronze: 100, silver: 500, gold: 2000 }),
});
```

<ResponseExample>
  ```json 200 OK theme={null}
  { "tx_hash": "0xabc..." }
  ```
</ResponseExample>
