# Use Currencies In-Game

### List Currency

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

```csharp
LootLockerSDKManager.ListCurrencies((response) =>
{
    if (!response.success)
    {
         Debug.Log("error: " + response.errorData.message);
         Debug.Log("request ID: " + response.errorData.request_id);
         return;
     }

});
```

To see what data gets returned, please refer to our [Reference Documentation](https://ref.lootlocker.com/game-api/#list-currencies).
{% endtab %}

{% tab title="Unreal" %}

<figure><img src="/files/3yPx3T2mhEg4F493gLyN" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/l_256v_d/">Blueprint example of listing currencies available in the game</a></p></figcaption></figure>
{% endtab %}
{% endtabs %}

### Get Currency Denominations

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

<pre class="language-csharp"><code class="lang-csharp"><strong>string currencyID = "";
</strong>
<strong>LootLockerSDKManager.GetCurrencyDenominationsByCode(currencyID, (response) =>
</strong>{
    if(!response.success)
    {
        Debug.Log("error: " + response.errorData.message);
        Debug.Log("request ID: " + response.errorData.request_id);
        return;
    }
    
});
</code></pre>

To see what data gets returned, please refer to our [Reference Documentation](https://ref.lootlocker.com/game-api/#list-denominations-by-currency).
{% endtab %}

{% tab title="Unreal" %}

<figure><img src="/files/edHPkWALl6DhBEDidHNb" alt=""><figcaption><p><a href="https://blueprintue.com/blueprint/aqyrdzvn/">Blueprint example of getting denominations</a></p></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/commerce/currencies/how-to/use-currency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
