GetEpoch - Query Epoch Information
Retrieve Sui epoch information via gRPC including validators, stake distribution, and timing. Essential for staking applications and network monitoring with Dwellir.
Sui RPC endpoint: endpoint URLs, plans and pricing.
Retrieve Sui epoch information via gRPC including validators, stake distribution, and timing. Essential for staking applications and network monitoring with Dwellir.
Method Signature
- Service:
sui.rpc.v2.LedgerService - Method:
GetEpoch - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"read_mask": {
"paths": [
"epoch",
"reference_gas_price"
]
}
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.LedgerService/GetEpochUsage notes
Use epoch, not epoch_id, to select an epoch. The response wraps data in epoch. Validator membership is epoch.committee.
Historical data is limited by node retention. Check lowest_available_checkpoint and lowest_available_checkpoint_objects with GetServiceInfo. Use an archival source when data has been pruned.
Related resources
GetCheckpoint
Retrieve Sui blockchain checkpoints via gRPC to access finalized state, transaction batches, and validator signatures. Essential for applications requiring guaranteed finality with Dwellir's infrastructure.
GetObject
Retrieve detailed Sui blockchain object information using the gRPC GetObject method. Access object metadata, ownership, version history, and contents with high-performance binary serialization through Dwellir's infrastructure.