> ## 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.

# Withdrawals

> Staking withdrawals from validator on the network

The `iota.staking.withdrawals` model tracks all staking withdrawals made from validators on the IOTA network.

### Table Details

| Property | Value |
| - | - |
| Table Name | `iota.staking.withdrawals` |
| Table Status | Production-Ready |
| Unique Key | `checkpoint_timestamp`, `unique_id` |
| Clustering Key(s) | `checkpoint_timestamp::date` |
| Search Optimization | `validator_address` |

### Understanding Unstaking

When users unstake their IOTA, they return their pool tokens and receive both their original principal and accumulated rewards. The unstaking process in IOTA has a waiting period before funds are released.

### Unstaking Process

1. User initiates an unstaking request

* The request is processed at the end of the current epoch
* The user receives their principal amount plus rewards
* The rewards are calculated based on the pool token exchange rate at the time of unstaking

### Principal vs. Rewards

The withdrawal data separates the original staked amount (principal) from the earned rewards, allowing for clear tracking of staking returns.

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| checkpoint\_timestamp | TIMESTAMP\_NTZ(9) | Timestamp of when the checkpoint was created |
| stake\_activation\_epoch | NUMBER(38,0) | The epoch number when the stake was originally activated |
| unstaking\_epoch | NUMBER(38,0) | The epoch number where the IOTA unstake request will be released |
| sender | VARCHAR(16777216) | Address of the sender |
| staker\_address | VARCHAR(16777216) | Address of the staker |
| validator\_address | VARCHAR(16777216) | Address of the validator |
| pool\_id | VARCHAR(16777216) | ID of the staking pool |
| principal\_amount\_str | VARCHAR(16777216) | Amount of IOTA unstaked (string format for precision) |
| principal\_amount | FLOAT | Amount of IOTA unstaked (float format) |
| reward\_amount\_str | VARCHAR(16777216) | Amount of rewards received (string format for precision) |
| reward\_amount | FLOAT | Amount of rewards received (float format) |
| checkpoint\_sequence | NUMBER(38,0) | Sequence number of the checkpoint |
| checkpoint\_digest | VARCHAR(16777216) | Digest of the checkpoint |
| transaction\_block\_digest | VARCHAR(16777216) | Digest of the transaction block |
| transaction\_module | VARCHAR(16777216) | Module of the transaction |
| event\_seq | NUMBER(38,0) | Sequence number of the event |
| package\_id | VARCHAR(16777216) | ID of the package |
| unique\_id | VARCHAR(16777216) | Unique ID of the withdrawal |
| \_created\_at | TIMESTAMP\_NTZ(9) | Timestamp when the record was created |
| \_updated\_at | TIMESTAMP\_NTZ(9) | Timestamp when the record was last updated |

### Related Docs

* [Sui Staking Withdrawals](https://docs.allium.so/historical-data/supported-blockchains/move-ecosystem/sui/staking/withdrawals.md)
