Get Gas Price
eth_gasPrice
eth_gasPrice
Returns the current gas price on the network in wei. This function requires input as follows:
URL 1 : RPC endpoint (Blockchain URL).
ID 2 : RPC ID(Optional), used when calling multiple asynchronous RPC calls to differentiate your response data from each other.
The returned Response is a struct that holds the JSON- info of the header and body of the response as well as https status code.
Last updated