Skip to main content

GetEpoch gRPC Method

Loading...

Updated on
Jun 17, 2025

GetEpoch gRPC Method

Parameters

epoch
string
Loading...
read_mask
object
Loading...
paths
array
Loading...

Returns

epoch
object
Loading...
epoch
string
Loading...
committee
object
Loading...
epoch
string
Loading...
members
array
Loading...
publicKey
string
Loading...
weight
string
Loading...
Request
1
grpcurl \
2
-import-path . \
3
-proto sui/rpc/v2beta2/ledger_service.proto \
4
-H "x-token: YOUR_TOKEN_VALUE" \
5
-d '{
6
"epoch": "10",
7
"read_mask": {
8
"paths": [
9
"epoch",
10
"committee"
11
]
12
}
13
}' \
14
docs-demo.sui-mainnet.quiknode.pro:9000 \
15
sui.rpc.v2beta2.LedgerService/GetEpoch
16
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free