Skip to content

sui_getChainIdentifier ​

Read API

Return the first four bytes of the chain's genesis checkpoint digest.

Parameters ​

None.

Result ​

  • String · string

Example ​

Request ​

bash
curl https://mainnet-api.inodra.com/v1/jsonrpc \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getChainIdentifier",
  "params": []
}'

Response ​

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "4c78adac"
}

The full-stack Sui data layer.