diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 29ebb0f..8c081d2 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -2023,12 +2023,43 @@ }, { "title": "Invoke transaction V1", - "$ref": "#/components/schemas/INVOKE_TXN_V1" + "$ref": "#/components/schemas/BROADCASTED_INVOKE_TXN_V1" } ] } ] }, + "BROADCASTED_INVOKE_TXN_V1": { + "title": "Invoke transaction V1", + "description": "initiates a transaction from a given account", + "allOf": [ + { + "title": "Common transaction properties", + "$ref": "#/components/schemas/BROADCASTED_TXN_COMMON_PROPERTIES" + }, + { + "type": "object", + "properties": { + "sender_address": { + "title": "sender address", + "$ref": "#/components/schemas/ADDRESS" + }, + "calldata": { + "type": "array", + "title": "calldata", + "description": "The data expected by the account's `execute` function (in most usecases, this includes the called contract address and a function selector)", + "items": { + "$ref": "#/components/schemas/FELT" + } + } + }, + "required": [ + "sender_address", + "calldata" + ] + } + ] + }, "L1_HANDLER_TXN": { "title": "L1 Handler transaction", "allOf": [