Skip to main content

suix_getReferenceGasPrice RPC Method

Return the reference gas price for the network.

Updated on
Dec 10, 2024

suix_getReferenceGasPrice RPC Method

Parameters

This method does not accept any parameters

Returns

result
string
The reference gas price for the network
Request
1
curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "suix_getReferenceGasPrice",
7
"params": []
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free