We're now supporting Polygon zkEVM!
Learn more here.


eth_maxPriorityFeePerGas RPC Method


  1. None


  1. Result - String - The hex value of the priority fee needed to be included in a block

Code Examples:

require "uri"
require "json"
require "net/http"

url = URI("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/")

https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Content-Type"] = "application/json"
request.body = JSON.dump({
  "method": "eth_maxPriorityFeePerGas",
  "params": [],
  "id": 1,
  "jsonrpc": "2.0"

response = https.request(request)
puts response.read_body
Ready to get started? Create a free account