mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 05:45:37 +08:00
docs: updated example and schema for get contract info (#1213)
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user