GetEpoch

Parameters:

epoch- uint64 The requested epoch. If no epoch is provided the current epoch will be returned.

read_mask - FieldMask Mask specifying which fields to read. If no mask is specified, defaults to object_id,version,digest.

Returns:

epoch - Epoch

Example:

grpcurl -proto .sui/rpc/v2beta2/ledger_service.proto 
-H "x-token: YOUR_TOKEN_VALUE" 
-d 
'{
    "digests": "6YVzczqTRTB88X1H5a4LGnKVTZoL7hfVDJ96DpHFU7Gy",
    "read_mask": {
        
    }
}' 
sui.blockpi.network sui.rpc.v2beta.LedgerService/GetEpoch

Last updated

Was this helpful?