Transaction metadata in CBOR
GET /txs/:hash/metadata/cbor
Obtain the transaction metadata in CBOR.
Request
Path Parameters
hash 64-character case-sensitive hexadecimal string. required
Hash of the requested transaction
Example: 6e5f825c82c1c6d6b77f2a14092f3b78c8f1b66db6f4cf8caec1555b6f967b3b
Responses
- 200
- 400
- 403
- 404
- 418
- 429
- 500
Obtain metadata information associated with a specific transaction.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
label string required
Metadata label
cbor_metadata string nullable deprecated
Content of the CBOR metadata
metadata string nullable required
Content of the CBOR metadata in hex
[
{
"label": "1968",
"cbor_metadata": "\\xa100a16b436f6d62696e6174696f6e8601010101010c",
"metadata": "a100a16b436f6d62696e6174696f6e8601010101010c"
}
]
Bad request
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 400,
"error": "Bad Request",
"message": "Backend did not understand your request."
}
Authentication secret is missing or invalid
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 403,
"error": "Forbidden",
"message": "Invalid project token."
}
Component not found
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 404,
"error": "Not Found",
"message": "The requested component has not been found."
}
IP has been auto-banned for extensive sending of requests after usage limit has been reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 418,
"error": "Requested Banned",
"message": "IP has been auto-banned for flooding."
}
Usage limit reached
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 429,
"error": "Project Over Limit",
"message": "Usage is over limit."
}
Internal Server Error
application/json
Schema
Example (from schema)
Schema
status_code integer required
error string required
message string required
{
"status_code": 500,
"error": "Internal Server Error",
"message": "An unexpected response was received from the backend."
}
Loading...