Skip to content

Commit

Permalink
add SKIP_FEE_CHARGE flag to simulate (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
EvyatarO authored Jul 6, 2023
1 parent 1e75b15 commit b02283a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/starknet_trace_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"name": "starknet_simulateTransactions",
"summary": "simulate a given sequence of transactions on the requested state, and generate the execution traces",
"summary": "simulate a given sequence of transactions on the requested state, and generate the execution traces. If one of the transactions is reverted, raises CONTRACT_ERROR.",
"params": [
{
"name": "block_id",
Expand Down Expand Up @@ -230,9 +230,9 @@
"type": "string",
"enum": [
"SKIP_VALIDATE",
"SKIP_EXECUTE"
"SKIP_FEE_CHARGE"
],
"description": "Flags that indicate how to simulate a given transaction"
"description": "Flags that indicate how to simulate a given transaction. By default, the sequencer behavior is replicated locally (enough funds are expected to be in the account, and fee will be deducted from the balance before the simulation of the next transaction). To skip the fee charge, use the SKIP_FEE_CHARGE flag."
},
"NESTED_CALL": {
"$ref": "#/components/schemas/FUNCTION_INVOCATION"
Expand Down

0 comments on commit b02283a

Please sign in to comment.