---
title: "Prêmios"
description: "Estatísticas e ganhadores de prêmios instantâneos."
---
<div class="lm-ref-kicker"><code>prizes</code><span>namespace</span></div>

Estatísticas e ganhadores de prêmios instantâneos.

<div class="lm-ref-stats lm-ref-stats--compact">
  <div class="lm-ref-stat"><strong>2</strong><span>métodos</span></div>
  <div class="lm-ref-stat"><code>prizes</code><span>namespace</span></div>
</div>

> Esta página é gerada automaticamente pelo `@luckymaker/sdk-generator`. Não edite manualmente.

## `listInstantStats`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/prizes/instant/stats</code></div>

Assinatura:

```ts
listInstantStats(query?: ListInstantStatsQuery, settings?: SdkSettings): Promise<ListInstantStatsResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `page` | `number` | não |

### Tipos

```ts
type ListInstantStatsQuery = { "page"?: number; };
type ListInstantStatsResponse = unknown;
```

### Exemplo

```ts
const response = await sdk.prizes.listInstantStats();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=prizes&method=listInstantStats">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>

## `listInstantWinnersHomepageShowcase`

<div class="lm-endpoint"><span class="lm-http lm-http--get">GET</span><code>/prizes/instant/winners</code></div>

Assinatura:

```ts
listInstantWinnersHomepageShowcase(query?: ListInstantWinnersHomepageShowcaseQuery, settings?: SdkSettings): Promise<ListInstantWinnersHomepageShowcaseResponse>
```

### Query

| Nome | Tipo | Obrigatório |
|---|---|---|
| `limit` | `number` | não |
| `hideVirtual` | `boolean` | não |

### Tipos

```ts
type ListInstantWinnersHomepageShowcaseQuery = { "limit"?: number; "hideVirtual"?: boolean; };
type ListInstantWinnersHomepageShowcaseResponse = { "winners": Array<{ "name": string; "value": number; "ticketNumber"?: string; }>; };
```

### Exemplo

```ts
const response = await sdk.prizes.listInstantWinnersHomepageShowcase();
```

<a class="lm-playground-link" href="/docs/guias/playground/?namespace=prizes&method=listInstantWinnersHomepageShowcase">Testar esta função no playground <svg class="lm-arrow-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></a>