mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-05-15 17:18:03 +08:00
* fix: openapi lint validator * fix: balances schema * fix: add title to all entities * fix: some additionalProperties and duplicate names * fix: remove additional properties for rosetta * fix: rosetta tests * style: remove empty description
45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"description": "GET request to get contract interface",
|
|
"title": "ContractInterfaceResponse",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["functions", "variables", "maps", "fungible_tokens", "non_fungible_tokens"],
|
|
"properties": {
|
|
"functions": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"description": "List of defined methods"
|
|
},
|
|
"variables": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"description": "List of defined variables"
|
|
},
|
|
"maps": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"description": "List of defined data-maps"
|
|
},
|
|
"fungible_tokens": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"description": "List of fungible tokens in the contract"
|
|
},
|
|
"non_fungible_tokens": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object"
|
|
},
|
|
"description": "List of non-fungible tokens in the contract"
|
|
}
|
|
}
|
|
}
|