Skip to content

Commit

Permalink
Merge pull request #127 from starkware-libs/shahak/add_required_to_wr…
Browse files Browse the repository at this point in the history
…ite_api_result

fix(api): add required to write api's results
  • Loading branch information
nagmo-starkware authored Aug 21, 2023
2 parents 41e25b1 + 4701fc9 commit 945e30f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions api/starknet_write_api.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"title": "The hash of the invoke transaction",
"$ref": "#/components/schemas/TXN_HASH"
}
}
},
"required": ["transaction_hash"]
}
},
"errors": [
Expand Down Expand Up @@ -88,7 +89,8 @@
"title": "The hash of the declared class",
"$ref": "#/components/schemas/FELT"
}
}
},
"required": ["transaction_hash", "class_hash"]
}
},
"errors": [
Expand Down Expand Up @@ -160,7 +162,8 @@
"title": "The address of the new contract",
"$ref": "#/components/schemas/FELT"
}
}
},
"required": ["transaction_hash", "contract_address"]
}
},
"errors": [
Expand Down

0 comments on commit 945e30f

Please sign in to comment.