gRPCGetEpoch
sui-mainnet.nodit.io:443 sui.rpc.v2.LedgerService/GetEpochunaryRetrieves the information of the specified epoch. Returns the current epoch if no epoch is specified.
Request and response messages are identical for both transports. Only the wire protocol, headers, and client library differ.
- Protocol
- Native gRPC over HTTP/2 with TLS. Suited to server-side clients and grpcurl.
- Content-Type
application/grpc- Headers
x-api-key- Streaming
- Server, client, and bidirectional streaming are all supported.
- Errors
- grpc-status and grpc-message are delivered as HTTP/2 trailers.
The requested epoch. If no epoch is provided, the current epoch will be returned.
The set of field mask paths (e.g. "object_id", "version", "digest").
Epoch number.
Validator committee for the epoch.
The epoch where this committee governs.
The committee members.
The 96-byte Bls12381 public key for this validator.
Voting weight this validator possesses.
Snapshot of the system state.
Version of the data structure.
Current epoch.
Current protocol version.
The validator set.
Total stake across the set.
Currently active validators.
Human-readable name.
Sui address of the validator.
Description of the validator.
Image URL.
Project URL.
Protocol public key.
Proof of possession.
Network public key.
Worker public key.
Network address.
P2P address.
Primary address.
Worker address.
Next-epoch protocol public key.
Next-epoch proof of possession.
Next-epoch network public key.
Next-epoch worker public key.
Next-epoch network address.
Next-epoch P2P address.
Next-epoch primary address.
Next-epoch worker address.
Additional metadata fields.
Voting power of the validator.
Operation capability ObjectId.
Gas price set by the validator.
The validator's staking pool.
Commission rate in basis points.
Stake for the next epoch.
Gas price for the next epoch.
Commission rate for the next epoch.
Additional extensible fields.
Validators pending activation.
UID of the Table or Bag.
Number of key-value pairs.
Indices of validators pending removal.
Mapping of staking pools.
UID of the Table or Bag.
Number of key-value pairs.
Inactive validators.
UID of the Table or Bag.
Number of key-value pairs.
Validator candidates.
UID of the Table or Bag.
Number of key-value pairs.
At-risk validators.
Address of the at-risk validator.
Number of epochs at risk.
Additional extensible fields.
UID of the Table or Bag.
Number of key-value pairs.
The storage fund.
Total object storage rebates.
Non-refundable balance.
System parameters.
Epoch duration in milliseconds.
Epoch at which stake subsidy starts.
Minimum number of validators.
Maximum number of validators.
Deprecated. Minimum stake required to join.
Deprecated. Low stake threshold.
Deprecated. Very low stake threshold.
Grace period for low-stake validators.
Additional extensible fields.
UID of the Table or Bag.
Number of key-value pairs.
Reference gas price.
Validator report records.
Address of the reported validator.
Addresses of the reporting validators.
Stake subsidy information.
Reserved SUI balance for subsidies.
Number of distributions made.
Current distribution amount.
Length of a subsidy period.
Decrease rate in basis points.
Additional extensible fields.
UID of the Table or Bag.
Number of key-value pairs.
Whether the system is in safe mode.
Storage rewards accrued in safe mode.
Computation rewards accrued in safe mode.
Storage rebates accrued in safe mode.
Non-refundable storage fee accrued in safe mode.
Epoch start timestamp in milliseconds.
Additional extensible fields.
UID of the Table or Bag.
Number of key-value pairs.
First checkpoint of the epoch.
Last checkpoint of the epoch.
Start timestamp of the epoch.
End timestamp of the epoch.
Reference gas price, denominated in MIST.
Protocol configuration for the epoch.
Protocol version.
Feature flag toggles.
Flag name.
Whether the flag is enabled.
Configuration attributes.
Attribute key.
Attribute value.