跳至主要內容

eth_estimateGas RPC 方法

載入中...

更新於
2026年4月29日

eth_estimateGas RPC 方法

To use the eth_estimateGas method on the C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

參數

交易
物件
載入中...
來自
字串
載入中...
字串
必填
載入中...
氣體
整數
載入中...
gasPrice
整數
載入中...
整數
載入中...
資料
字串
載入中...
區塊編號
字串
載入中...

退貨

數量
字串
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: "0x5208"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
「結果」: "0x5208"
5
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用