suix_getReferenceGasPrice

Governance Read API: Return the reference gas price for the network

Parameters

  • None

Returns

  • u64 : <uint64>

Example Request and Result for suix_getReferenceGasPrice

Request

curl --location 'https://sui-testnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getReferenceGasPrice",
  "params": []
}'

Result

{
    "jsonrpc": "2.0",
    "result": "1000",
    "id": 1
}

Last updated