zkevm_estimateGasPrice RPC Method
Parameters
transaction
object
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
string
Loading...
data
string
Loading...
Returns
result
string
Loading...
Request
1curl -X POST "https://docs-demo.zkevm-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "zkevm_estimateGasPrice",6"params": [7{8"from": "0x8D97689C9818892B700e27F316cc3E41e17fBeb9",9"to": "0xd3CdA913deB6f67967B99D67aCDFa1712C293601",10"value": "0x186a0"11}12],13"id": 114}'
1curl -X POST "https://docs-demo.zkevm-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "zkevm_estimateGasPrice",6"params": [7{8"from": "0x8D97689C9818892B700e27F316cc3E41e17fBeb9",9"to": "0xd3CdA913deB6f67967B99D67aCDFa1712C293601",10"value": "0x186a0"11}12],13"id": 114}'
Response
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method zkevm_estimateGasPrice does not exist/is not available"7}8}
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method zkevm_estimateGasPrice does not exist/is not available"7}8}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free