Skip to content

Commit

Permalink
add eth_maxFeePerGas and eth_maxPriorityFeePerGas
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient committed Jun 3, 2021
1 parent 37ec786 commit 69698dc
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions json-rpc/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,22 @@
"$ref": "#/components/contentDescriptors/GasPrice"
}
},
{
"name": "eth_maxFeePerGas",
"summary": "Returns a maxFeePerGas value suitable for quick transaction inclusion",
"params": [],
"result": {
"$ref": "#/components/contentDescriptors/MaxFeePerGas"
}
},
{
"name": "eth_maxPriorityFeePerGas",
"summary": "Returns a maxPriorityFeePerGas value suitable for quick transaction inclusion",
"params": [],
"result": {
"$ref": "#/components/contentDescriptors/MaxPriorityFeePerGas"
}
},
{
"name": "eth_getBalance",
"summary": "Returns Ether balance of a given or account or contract",
Expand Down Expand Up @@ -1760,6 +1776,24 @@
"$ref": "#/components/schemas/Integer"
}
},
"MaxFeePerGas": {
"name": "maxFeePerGas",
"required": true,
"schema": {
"title": "maxFeeCapPerGas",
"description": "Integer of the max fee per gas",
"$ref": "#/components/schemas/Integer256"
}
},
"MaxPriorityFeePerGas": {
"name": "maxPriorityFeePerGas",
"required": true,
"schema": {
"title": "maxPriorityFeePerGas",
"description": "Integer of the max priority fee per gas",
"$ref": "#/components/schemas/Integer256"
}
},
"Transaction": {
"required": true,
"name": "transaction",
Expand Down

0 comments on commit 69698dc

Please sign in to comment.