Understanding Unstaking

When users unstake their SUI, they return their pool tokens and receive both their original principal and accumulated rewards. The unstaking process in Sui 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

Unique Key: unique_id

ColumnDescription
checkpoint_timestampTimestamp of when the checkpoint was created
unstaking_epochThe epoch when the SUI unstake request will be released
senderAddress of the sender
staker_addressAddress of the staker
validator_addressAddress of the validator
pool_idID of the staking pool
principal_amount_strAmount of SUI unstaked (string format)
principal_amountAmount of SUI unstaked (float format)
reward_amount_strAmount of rewards received (string format)
reward_amountAmount of rewards received (float format)
transaction_block_digestDigest of the transaction block
unique_idUnique ID of the withdrawal