Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 543 Bytes

File metadata and controls

36 lines (28 loc) · 543 Bytes
description Return the reference gas price for the network

suix_getReferenceGasPrice

Parameters:

None

Returns:

SuiSystemStateSummary< SuiSystemStateSummary >

Example:

{% code overflow="wrap" %}

// Request
curl  https://sui.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" 
--data 
'{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_getReferenceGasPrice",
  "params": []
}'

// Result
{
    "jsonrpc": "2.0",
    "result": "750",
    "id": 1
}

{% endcode %}