NCN Cookbook
  • Jito Restaking

    • Jito Restaking Repository
    • Jito Restaking Documentation
    • Jito Restaking CLI
  • Jito Restaking

    • Jito Restaking Repository
    • Jito Restaking Documentation
    • Jito Restaking CLI
  • Introduction

    • Intro to Jito Restaking
    • NCN Overview
  • Core Concepts

    • Overview
    • NCN
    • Operator
    • Vault
  • Getting Started

    • Installation
    • Rust Client
    • TypeScript Client
    • Python Client
  • Integrating with Jito Restaking

    • Restaking Program
    • Vault Program
  • Building NCN

    • NCN Design
    • Pricing
    • Snapshot
    • Core Logic
    • Rewards Payment
  • References

    • Overview of Real-World Projects
    • Jito Tip Router Program
  • Developer Resources

    • Learning & Core Resources for Jito Restaking

Snapshot

Determines the current status of all active NCNs and Vaults, and condenses the stake weight they each have for the current epoch in one account per operator.

Epoch Snapshot

FieldTypeDescription
ncnPubkeyNCN account pubkey.
ncn_epochu64The NCN epoch for which the Epoch snapshot is valid.
slot_createdu64The slot that epoch snapshot is created.
slot_finalizedu64The slot that epoch snapshot is finalized.
ncn_feesu64The fees of NCN.
operator_countu64The count of operator in this epoch.
vault_countu64The count of vault in this epoch.
operators_registeredu64The count of operator that registered in this epoch.
valid_operator_vault_delegationu64The count of operator delegation is registered.
stake_weightu128Counted as each delegate gets added.

Operator Snapshot

OperatorSnapshot

FieldTypeDescription
operatorPubkeyNCN account pubkey.
ncnPubkeyThe NCN epoch for which the Epoch snapshot is valid.
ncn_epochu64The NCN epoch for which the Epoch snapshot is valid.
slot_createdu64The slot that epoch snapshot is created.
slot_finalizedu64The slot that epoch snapshot is finalized.
is_activeboolThe fees of NCN.
ncn_operator_indexu64The count of operator in this epoch.
operator_indexu16The count of vault in this epoch.
operator_fee_bpsu64The count of operator that registered in this epoch.
vault_operator_delegation_countu64The count of operator delegation.
vault_operator_delegations_registeredu64The count of operator delegation is registered.
valid_operator_vault_delegationsu64Valid operator delegation.
stake_weightu128The stake weight of the operator.
vault_operator_stake_weight[VaultOperatorStakeWeight; 32]The vault <> operator stake weight.

VaultOperatorStakeWeight

FieldTypeDescription
vaultPubkeyVault account pubkey.
stake_weightu128The stake weight of this operator associated with vault.
vault_indexu64The index of vault.
Last Updated:
Contributors: Aoi Kurokawa
Prev
Pricing
Next
Core Logic