From 887c073f1cf3169d192d5d17d37986ca88b3f9b0 Mon Sep 17 00:00:00 2001 From: Ariel Elperin Date: Mon, 26 Feb 2024 07:49:50 +0200 Subject: [PATCH] add 4844 fields to the pending block header --- api/starknet_api_openrpc.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/api/starknet_api_openrpc.json b/api/starknet_api_openrpc.json index 14f96ae..033e9f3 100644 --- a/api/starknet_api_openrpc.json +++ b/api/starknet_api_openrpc.json @@ -1538,6 +1538,20 @@ "description": "The price of l1 gas in the block", "$ref": "#/components/schemas/RESOURCE_PRICE" }, + "l1_data_gas_price": { + "title": "L1 data gas price", + "description": "The price of l1 data gas in the block", + "$ref": "#/components/schemas/RESOURCE_PRICE" + }, + "l1_da_mode": { + "title": "L1 da mode", + "type": "string", + "description": "specifies whether the data of this block is published via blob data or calldata", + "enum": [ + "BLOB", + "CALLDATA" + ] + }, "starknet_version": { "title": "Starknet version", "description": "Semver of the current Starknet protocol", @@ -1549,6 +1563,8 @@ "timestamp", "sequencer_address", "l1_gas_price", + "l1_data_gas_price", + "l1_da_mode", "starknet_version" ], "not": {