Get the error message format of a specific error id
GET//v1/chains/:chainID/core/errors/:contractHname/message/:errorID
Get the error message format of a specific error id
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
contractHname stringrequired
Contract (Hname as Hex)
errorID int32required
Possible values: >= 1
Error Id (uint16)
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
The error message format
- application/json
- Schema
- Example (from schema)
Schema
messageFormat stringrequired
{
"messageFormat": "messageFormat"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/v1/chains/:chainID/core/errors/:contractHname/message/:errorID' \
-H 'Accept: application/json'
ResponseClear