Home

Get Gas Price

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the current gas price for executing smart contract operations on the Ontology blockchain. Gas price may vary based on network congestion.

Body

application/json
jsonrpcstring

The JSON-RPC protocol version. Always "2.0".

methodstring

The RPC method name to be invoked.

paramsArray<string>

An empty array of parameters for this method.

idinteger

The request identifier used to match the response with the request.

Response

200OK

Successful response with the gas price.