Get all available chain contracts
GET/v1/chains/:chainID/contracts
Get all available chain contracts
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
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.
programHash stringrequired
The hash of the contract. (Hex encoded)
[
{
"programHash": 8.730131472895789e+76,
"name": "evm",
"hName": "07cb02c1"
}
]
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...