跳至主要內容

eth_estimateGas RPC Method

載入中...

更新於
2026年4月3日

eth_estimateGas RPC Method

Please note that for this RPC method, if the block number is set to pending, Polygon zkEVM assumes it as the latest.

參數

transaction
物件
載入中...
出自
字串
載入中...
字串
必填
載入中...
氣體
整數
載入中...
gasPrice
整數
載入中...
整數
載入中...
資料
字串
載入中...

退貨

quantity
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x5208"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x5208"
5
}
還沒有帳號嗎?
endpoint 幾秒鐘endpoint 建立您的Quicknode endpoint ,並開始建置
立即免費開始使用