Skip to content

Commit 523cab1

Browse files
committed
eth_blobGasPrice instead of eth_gasPrices
1 parent 0f75d79 commit 523cab1

File tree

5 files changed

+8
-24
lines changed

5 files changed

+8
-24
lines changed

src/eth/fee_market.yaml

+5-19
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,14 @@
66
schema:
77
title: Gas price
88
$ref: '#/components/schemas/uint'
9-
- name: eth_gasPrices
10-
summary: Returns the current prices for regular, blob gas and maxPriorityFee in wei.
9+
- name: eth_blobGasPrice
10+
summary: Returns the current price per blob gas in wei.
1111
params: []
1212
result:
13-
name: gasPricesResult
14-
description: Prices of regular and blob gas along with priority fee
13+
name: Blob gas price
1514
schema:
16-
title: gasPricesResults
17-
type: object
18-
required:
19-
- gasPrices
20-
additionalProperties: false
21-
properties:
22-
gas:
23-
title: Gas Price
24-
$ref: '#/components/schemas/uint'
25-
blobGas:
26-
title: Blob gas price
27-
$ref: '#/components/schemas/uint'
28-
maxPriority:
29-
description: Max priority fee per gas
30-
$ref: '#/components/schemas/uint'
15+
title: Blob gas price
16+
$ref: '#/components/schemas/uint'
3117
- name: eth_maxPriorityFeePerGas
3218
summary: Returns the current maxPriorityFeePerGas per gas in wei.
3319
params: []
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
>> {"jsonrpc":"2.0","id":1,"method":"eth_blobGasPrice","params":[]}
2+
<< {"jsonrpc":"2.0","id":1,"result":"0x1"}

tests/eth_feeHistory/fee-history.io

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
>> {"jsonrpc":"2.0","id":1,"method":"eth_feeHistory","params":["0x1","0x2",[95,99]]}
2-
<< {"jsonrpc":"2.0","id":1,"result":{"oldestBlock":"0x2","reward":[["0x1","0x1"]],"baseFeePerGas":["0x2db08786","0x2806be9d"],"gasUsedRatio":[0.0042]}}
2+
<< {"jsonrpc":"2.0","id":1,"result":{"oldestBlock":"0x2","reward":[["0x1","0x1"]],"baseFeePerBlobGas":["0x1","0x2"],"baseFeePerGas":["0x2db08786","0x2806be9d"],"blobGasUsedRatio":[0.5],"gasUsedRatio":[0.0042]}}

tests/eth_gasPrices/gas-prices-blockhash.io

-2
This file was deleted.

tests/eth_gasPrices/gas-prices.io

-2
This file was deleted.

0 commit comments

Comments
 (0)