Skip to content

Commit

Permalink
fix price and fee schema
Browse files Browse the repository at this point in the history
  • Loading branch information
OmriEshhar1 committed Oct 11, 2023
1 parent 13a5c23 commit c1b00a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3205,17 +3205,17 @@
"gas_consumed": {
"title": "Gas consumed",
"description": "The Ethereum gas cost of the transaction (see https://docs.starknet.io/docs/Fees/fee-mechanism for more info)",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
},
"gas_price": {
"title": "Gas price",
"description": "The gas price (in gwei) that was used in the cost estimation",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
},
"overall_fee": {
"title": "Overall fee",
"description": "The estimated fee for the transaction (in gwei), product of gas_consumed and gas_price",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
}
},
"required": [
Expand All @@ -3239,12 +3239,12 @@
"max_amount": {
"title": "max amount",
"description": "the max amount of the resource that can be used in the tx",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
},
"max_price_per_unit": {
"title": "max price",
"description": "the max price per unit of this resource for this tx",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
}
},
"required": [
Expand All @@ -3258,12 +3258,12 @@
"price_in_strk": {
"title": "price in strk",
"description": "the price of one unit of the given resource, denominated in strk",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
},
"price_in_wei": {
"title": "price in wei",
"description": "the price of one unit of the given resource, denominated in wei",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "integer"
}
},
"required": [
Expand Down

0 comments on commit c1b00a5

Please sign in to comment.