docs: updated example and schema for get contract info (#1213)

This commit is contained in:
M Hassan Tariq
2022-06-21 20:26:09 +05:00
committed by GitHub
parent c4eec5d060
commit fcc7025fd9
2 changed files with 6 additions and 9 deletions

View File

@@ -2,13 +2,7 @@
"type": "object",
"title": "SmartContract",
"description": "A Smart Contract Detail",
"required": [
"tx_id",
"canonical",
"block_height",
"source_code",
"abi"
],
"required": ["tx_id", "canonical", "block_height", "source_code", "contract_id", "abi"],
"properties": {
"tx_id": {
"type": "string"
@@ -16,6 +10,9 @@
"canonical": {
"type": "boolean"
},
"contract_id": {
"type": "string"
},
"block_height": {
"type": "integer"
},