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

# Withdraw Rewards

### Table Details

| Property          | Value                               |
| ----------------- | ----------------------------------- |
| Table Name        | `cosmos.staking.withdraw_rewards`   |
| Table Status      | Production-Ready                    |
| Unique Key        | `block_timestamp`, `unique_id`      |
| Clustering Key(s) | `block_timestamp::date, event_type` |

### Table Columns

| Column Name         | Data Type         | Description                                                                                                                                            |
| ------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| event\_type         | VARCHAR(16777216) | Type of the event (withdraw\_reward).                                                                                                                  |
| delegator           | VARCHAR(16777216) | Address of the delegator who is withdrawing rewards.                                                                                                   |
| validator           | VARCHAR(16777216) | Address of the validator from whom rewards are being withdrawn.                                                                                        |
| denom               | VARCHAR(16777216) | Token denomination of the withdrawn rewards. Note that there can be rewards that are not the same denom as the native token staked for the blockchain. |
| decimals            | NUMBER(38,0)      | Number of decimals of the token denomination.                                                                                                          |
| raw\_amount\_str    | VARCHAR(16777216) | Raw amount of tokens withdrawn as a string (preserving precision).                                                                                     |
| amount\_str         | VARCHAR(16777216) | Normalized amount of tokens withdrawn as a string.                                                                                                     |
| amount              | FLOAT             | Normalized amount of tokens withdrawn as a float.                                                                                                      |
| usd\_amount         | FLOAT             | USD value of the withdrawn tokens at the time of withdrawal.                                                                                           |
| usd\_exchange\_rate | FLOAT             | USD exchange rate at the time of withdrawal.                                                                                                           |
| params              | VARIANT           | Additional parameters associated with the withdrawal event.                                                                                            |
| transaction\_hash   | VARCHAR(16777216) | Hash of the transaction containing the withdrawal.                                                                                                     |
| transaction\_index  | NUMBER(38,0)      | Index of the transaction within the block.                                                                                                             |
| block\_timestamp    | TIMESTAMP\_NTZ(9) | Timestamp when the block containing the withdrawal was created.                                                                                        |
| block\_height       | NUMBER(38,0)      | Height of the block containing the withdrawal.                                                                                                         |
| block\_hash         | VARCHAR(16777216) | Hash of the block containing the withdrawal.                                                                                                           |
| message\_action     | VARCHAR(16777216) | Action type of the message that triggered the event.                                                                                                   |
| message\_index      | NUMBER(38,0)      | Index of the message within the transaction.                                                                                                           |
| event\_index        | NUMBER(38,0)      | Index of the event within the message.                                                                                                                 |
| unique\_id          | VARCHAR(16777216) | Unique identifier for the withdrawal event.                                                                                                            |
| \_created\_at       | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was created in the database.                                                                                               |
| \_updated\_at       | TIMESTAMP\_NTZ(9) | Timestamp of when the entry was last updated in the database.                                                                                          |
