Parameters
chainId
string
default: "sui"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default: "2.0"
required
JSON-RPC version.
method
string
default: "suix_getCommitteeInfo"
required
JSON-RPC method name.
Parameters for suix_getCommitteeInfo: [epoch]. The epoch is optional; if omitted, the latest epoch is used. Positional parameters for suix_getCommitteeInfo: params[]: The epoch number as a BigInt for uint64, represented as a string (e.g., “1234567890”).
Returns
Committee information for the specified epoch. The epoch number (as a BigInt for uint64).
List of validators. Each validator is represented as a tuple [AuthorityPublicKeyBytes, BigInt for uint64]. Authority public key bytes (Sui address or hex encoded). Authority public key bytes (Sui address or hex encoded).
Validator value as a BigInt (uint64) in string form.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "suix_getCommitteeInfo",
"params": [
5000
]
}'
{
"jsonrpc" : "2.0" ,
"id" : 1 ,
"result" : {
"epoch" : "5000" ,
"validators" : [
[
"jc/20VUECmVvSBmxMRG1LFdGqGunLzlfuv4uw4R9HoFA5iSnUf32tfIFC8cgXPnTAATJCwx0Cv/TJs5nPMKyOi0k1T4q/rKG38Zo/UBgCJ1tKxe3md02+Q0z..." ,
"2500"
],
[
"mfJe9h+AMrkUY2RgmCxcxvE07x3a52ZX8sv+wev8jQlzdAgN9vzw3Li8Sw2OCvXYDrv/K0xZn1T0LWMS38MUJ2B4wcw0fru+xRmL4lhRPzhrkw0CwnSagD4j..." ,
"2500"
],
[
"rd7vlNiYyI5A297/kcXxBfnPLHR/tvK8N+wD1ske2y4aV4z1RL6LCTHiXyQ9WbDDDZihbOO6HWzx1/UEJpkusK2zE0sFW+gUDS218l+wDYP45CIr8B/WrJOh..." ,
"2500"
],
[
"s/1e+1yHJAOkrRPxGZUTYG0jNUqEUkmuoVdWTCP/PBXGyeZSty10DoysuTy8wGhrDsDMDBx2C/tCtDZRn8WoBUt2UzqXqfI5h9CX75ax8lJrsgc/oQp3GZQX..." ,
"2500"
]
]
}
}