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

# Pending Rewards Fact

> Check queue size.

The **Has Pending Reward Fact** returns the number of rewards currently waiting in the player's queue.

## Configuration

<ResponseField name="artifact" type="Ref<Artifact>" required>
  The storage artifact to check.
</ResponseField>

<ResponseField name="rewardId" type="String">
  Optional. If set, only counts rewards matching this ID.
</ResponseField>

<CodeGroup>
  ```yaml Condition theme={null}
  condition:
    type: readable_fact
    fact: btc_has_pending_rewards
    operator: GREATER_THAN
    value: 0
  ```
</CodeGroup>
