diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 0cff9f8..12ece3d 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -3578,7 +3578,7 @@ }, "EXECUTION_RESOURCES": { "title": "Execution resources", - "description": "The resources consumed by the transaction", + "description": "The resources consumed by the VM", "type": "object", "properties": { "steps": { diff --git a/api/starknet_trace_api_openrpc.json b/api/starknet_trace_api_openrpc.json index e5b2520..cb51889 100644 --- a/api/starknet_trace_api_openrpc.json +++ b/api/starknet_trace_api_openrpc.json @@ -365,6 +365,11 @@ "items": { "$ref": "#/components/schemas/ORDERED_MESSAGE" } + }, + "execution_resources": { + "title": "Execution resources", + "description": "Resources consumed by the internal call", + "$ref": "#/components/schemas/EXECUTION_RESOURCES" } }, "required": [ @@ -375,7 +380,8 @@ "result", "calls", "events", - "messages" + "messages", + "execution_resources" ] } ] @@ -459,6 +465,9 @@ }, "STATE_DIFF": { "$ref": "./api/starknet_api_openrpc.json#/components/schemas/STATE_DIFF" + }, + "EXECUTION_RESOURCES": { + "$ref": "./api/starknet_api_openrpc.json#/components/schemas/EXECUTION_RESOURCES" } }, "errors": {