Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"$ref": "#/components/schemas/BLOCK_WITH_TX_HASHES"
},
{
"title": "Pending block with transaction hashes",
"title": "Pre-confirmed block with transaction hashes",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_TX_HASHES"
}
]
Expand Down Expand Up @@ -83,7 +83,7 @@
"$ref": "#/components/schemas/BLOCK_WITH_TXS"
},
{
"title": "Pending block with transactions",
"title": "Pre-confirmed block with transactions",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_TXS"
}
]
Expand Down Expand Up @@ -120,7 +120,7 @@
"$ref": "#/components/schemas/BLOCK_WITH_RECEIPTS"
},
{
"title": "Pending block with transactions",
"title": "Pre-confirmed block with transactions",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_WITH_RECEIPTS"
}
]
Expand Down Expand Up @@ -157,7 +157,7 @@
"$ref": "#/components/schemas/STATE_UPDATE"
},
{
"title": "Pending state update",
"title": "Pre-confirmed state update",
"$ref": "#/components/schemas/PRE_CONFIRMED_STATE_UPDATE"
}
]
Expand Down Expand Up @@ -896,7 +896,7 @@
{
"not": {
"type": "string",
"enum": ["pending"]
"enum": ["pre_confirmed"]
}
}
]
Expand Down Expand Up @@ -1396,8 +1396,8 @@
]
},
"PRE_CONFIRMED_STATE_UPDATE": {
"title": "Pending state update",
"description": "Pending state update",
"title": "Pre-confirmed state update",
"description": "Pre-confirmed state update",
"type": "object",
"properties": {
"old_root": {
Expand Down Expand Up @@ -1617,7 +1617,7 @@
]
},
"PRE_CONFIRMED_BLOCK_HEADER": {
"title": "Pending block header",
"title": "Pre-confirmed block header",
"type": "object",
"properties": {
"parent_hash": {
Expand Down Expand Up @@ -1753,43 +1753,43 @@
]
},
"PRE_CONFIRMED_BLOCK_WITH_TX_HASHES": {
"title": "Pending block with transaction hashes",
"title": "Pre-confirmed block with transaction hashes",
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
"allOf": [
{
"title": "Block body with transactions hashes",
"$ref": "#/components/schemas/BLOCK_BODY_WITH_TX_HASHES"
},
{
"title": "Pending block header",
"title": "Pre-confirmed block header",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
}
]
},
"PRE_CONFIRMED_BLOCK_WITH_TXS": {
"title": "Pending block with transactions",
"title": "Pre-confirmed block with transactions",
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
"allOf": [
{
"title": "Block body with transactions",
"$ref": "#/components/schemas/BLOCK_BODY_WITH_TXS"
},
{
"title": "Pending block header",
"title": "Pre-confirmed block header",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
}
]
},
"PRE_CONFIRMED_BLOCK_WITH_RECEIPTS": {
"title": "Pending block with transactions and receipts",
"title": "Pre-confirmed block with transactions and receipts",
"description": "The dynamic block being constructed by the sequencer. Note that this object will be deprecated upon decentralization.",
"allOf": [
{
"title": "Block body with transactions and receipts",
"$ref": "#/components/schemas/BLOCK_BODY_WITH_RECEIPTS"
},
{
"title": "Pending block header",
"title": "Pre-confirmed block header",
"$ref": "#/components/schemas/PRE_CONFIRMED_BLOCK_HEADER"
}
]
Expand Down Expand Up @@ -3012,12 +3012,12 @@
"block_hash": {
"title": "Block hash",
"$ref": "#/components/schemas/BLOCK_HASH",
"description": "If this field is missing, it means the receipt belongs to the pending block"
"description": "If this field is missing, it means the receipt belongs to the pre-confirmed block"
},
"block_number": {
"title": "Block number",
"$ref": "#/components/schemas/BLOCK_NUMBER",
"description": "If this field is missing, it means the receipt belongs to the pending block"
"description": "If this field is missing, it means the receipt belongs to the pre-confirmed block"
}
}
}
Expand Down