From cf9dee9951ae18f52f04d2a7e8d3765dbc769dbe Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Sun, 1 Oct 2023 13:59:40 +0300 Subject: [PATCH] add missing fields to broadcasted_declare_txn_v1 --- api/starknet_api_openrpc.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index ea6f800..09ff4c3 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -1874,6 +1874,11 @@ "DECLARE" ] }, + "sender_address": { + "title": "Sender address", + "description": "The address of the account contract sending the declaration transaction", + "$ref": "#/components/schemas/ADDRESS" + }, "max_fee": { "title": "Max fee", "$ref": "#/components/schemas/FELT", @@ -1888,6 +1893,10 @@ "title": "Signature", "$ref": "#/components/schemas/SIGNATURE" }, + "nonce": { + "title": "Nonce", + "$ref": "#/components/schemas/FELT" + }, "contract_class": { "title": "Contract class", "description": "The class to be declared", @@ -1896,9 +1905,11 @@ }, "required": [ "type", + "sender_address", "max_fee", "version", "signature", + "nonce", "contract_class" ] }