Skip to main content

Overview

The near.staking.events model captures all staking-related events from validator pools, tracking deposits, staking, unstaking, and withdrawals. Events are extracted from receipt event logs. This model is updated hourly.

Event Types

A typical staking event flows in the following order:
  1. Deposit: Initial transfer of NEAR tokens to the staking pool
  2. Staking: Conversion of deposited NEAR to staking shares
  3. Unstaking: Withdrawal of NEAR from active staking
  4. Withdrawal: Final transfer of unstaked NEAR back to delegator
When a delegator stakes NEAR with a validator, they receive staking shares in return. These staking shares can be redeemed for NEAR at any time. The exchange rate between NEAR and staking shares is tracked in the near.staking.shares_exchange_rate model.

Column Description

Unique Key: unique_id