Get all available chain contracts
GET/v1/chain/contracts
Get all available chain contracts
Request
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
A list of all available contracts
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
hName stringrequired
The id (HName as Hex)) of the contract.
name stringrequired
The name of the contract.
[
{
"name": "name",
"hName": "hName"
}
]
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "error",
"missingPermission": "missingPermission"
}
Loading...