Skip to content

Commit

Permalink
change version with to an enum and add query version
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielElp committed Nov 1, 2023
1 parent 3bba40b commit 04642cc
Showing 1 changed file with 45 additions and 12 deletions.
57 changes: 45 additions & 12 deletions api/starknet_api_openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,8 @@
"description": "Version of the transaction scheme",
"type": "string",
"enum": [
"0x0"
"0x0",
"0x100000000000000000000000000000000"
]
},
"signature": {
Expand Down Expand Up @@ -1732,7 +1733,8 @@
"description": "Version of the transaction scheme",
"type": "string",
"enum": [
"0x1"
"0x0",
"0x100000000000000000000000000000001"
]
},
"signature": {
Expand Down Expand Up @@ -1796,7 +1798,8 @@
"description": "Version of the transaction scheme",
"type": "string",
"enum": [
"0x2"
"0x2",
"0x100000000000000000000000000000002"
]
},
"signature": {
Expand Down Expand Up @@ -1856,7 +1859,8 @@
"description": "Version of the transaction scheme",
"type": "string",
"enum": [
"0x3"
"0x3",
"0x100000000000000000000000000000003"
]
},
"signature": {
Expand Down Expand Up @@ -1956,7 +1960,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x1",
"0x100000000000000000000000000000001"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2017,7 +2025,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x2",
"0x100000000000000000000000000000002"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2074,7 +2086,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x3",
"0x100000000000000000000000000000003"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2141,7 +2157,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x1",
"0x100000000000000000000000000000001"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2195,7 +2215,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x3",
"0x100000000000000000000000000000003"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2310,7 +2334,8 @@
"description": "Version of the transaction scheme",
"type": "string",
"enum": [
"0x0"
"0x0",
"0x100000000000000000000000000000000"
]
},
"signature": {
Expand Down Expand Up @@ -2378,7 +2403,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x1",
"0x100000000000000000000000000000001"
]
},
"signature": {
"title": "Signature",
Expand Down Expand Up @@ -2430,7 +2459,11 @@
"version": {
"title": "Version",
"description": "Version of the transaction scheme",
"$ref": "#/components/schemas/NUM_AS_HEX"
"type": "string",
"enum": [
"0x3",
"0x100000000000000000000000000000003"
]
},
"signature": {
"title": "Signature",
Expand Down

0 comments on commit 04642cc

Please sign in to comment.