stakequery

package
v0.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStakeByPoolsAtSlot

func GetStakeByPoolsAtSlot(
	db *gorm.DB,
	poolKeyHashes [][]byte,
	slot uint64,
) (map[string]uint64, map[string]uint64, error)

GetStakeByPoolsAtSlot returns delegated stake and delegator counts at a historical slot. It uses certificate history to find each credential's latest stake delegation and registration state, and account rows as synthetic state for imported/bootstrap data where the certificate history is unavailable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL