Skip to content

Commit 3d73bb8

Browse files
committed
Remove parent hash from pre_confirmed_block_header
1 parent bbd0197 commit 3d73bb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

api/starknet_api_openrpc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,10 +1620,10 @@
16201620
"title": "Pending block header",
16211621
"type": "object",
16221622
"properties": {
1623-
"parent_hash": {
1624-
"title": "Parent hash",
1625-
"description": "The hash of this block's parent",
1626-
"$ref": "#/components/schemas/BLOCK_HASH"
1623+
"block_number": {
1624+
"description": "The block number of the block that the proposer is currently building. Note that this is a local view of the node, whose accuracy depends on its polling interval length.",
1625+
"title": "Block number",
1626+
"$ref": "#/components/schemas/BLOCK_NUMBER"
16271627
},
16281628
"timestamp": {
16291629
"title": "Timestamp",
@@ -1664,7 +1664,7 @@
16641664
}
16651665
},
16661666
"required": [
1667-
"parent_hash",
1667+
"block_number",
16681668
"timestamp",
16691669
"sequencer_address",
16701670
"l1_gas_price",
@@ -1674,7 +1674,7 @@
16741674
"starknet_version"
16751675
],
16761676
"not": {
1677-
"required": ["block_hash", "block_number", "new_root"]
1677+
"required": ["block_hash", "new_root"]
16781678
}
16791679
},
16801680
"BLOCK_WITH_TX_HASHES": {

0 commit comments

Comments
 (0)