Transaction UTXOs
GET /txs/:hash/utxos
Return the inputs and UTXOs of the specific transaction.
Request
Path Parameters
Hash of the requested transaction
- 200
- 400
- 403
- 404
- 418
- 429
- 500
Return the contents of the transaction.
Schema
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
Transaction hash
inputs object[]required
Input address
amount object[]required
The unit of the value
The quantity of the unit
Hash of the UTXO transaction
UTXO index in the transaction
The hash of the transaction output datum
CBOR encoded inline datum
The hash of the reference script of the input
Whether the input is a collateral consumed on script validation failure
Whether the input is a reference transaction input
outputs object[]required
Output address
amount object[]required
The unit of the value
The quantity of the unit
UTXO index in the transaction
The hash of the transaction output datum
CBOR encoded inline datum
Whether the output is a collateral output
The hash of the reference script of the output
{
"hash": "1e043f100dce12d107f679685acd2fc0610e10f72a92d412794c9773d11d8477",
"inputs": [
{
"address": "addr1q9ld26v2lv8wvrxxmvg90pn8n8n5k6tdst06q2s856rwmvnueldzuuqmnsye359fqrk8hwvenjnqultn7djtrlft7jnq7dy7wv",
"amount": [
{
"unit": "lovelace",
"quantity": "42000000"
},
{
"unit": "b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e",
"quantity": "12"
}
],
"tx_hash": "1a0570af966fb355a7160e4f82d5a80b8681b7955f5d44bec0dce628516157f0",
"output_index": 0,
"data_hash": "9e478573ab81ea7a8e31891ce0648b81229f408d596a3483e6f4f9b92d3cf710",
"inline_datum": "19a6aa",
"reference_script_hash": "13a3efd825703a352a8f71f4e2758d08c28c564e8dfcce9f77776ad1",
"collateral": false,
"reference": false
}
],
"outputs": [
{
"address": "addr1q9ld26v2lv8wvrxxmvg90pn8n8n5k6tdst06q2s856rwmvnueldzuuqmnsye359fqrk8hwvenjnqultn7djtrlft7jnq7dy7wv",
"amount": [
{
"unit": "lovelace",
"quantity": "42000000"
},
{
"unit": "b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e",
"quantity": "12"
}
],
"output_index": 0,
"data_hash": "9e478573ab81ea7a8e31891ce0648b81229f408d596a3483e6f4f9b92d3cf710",
"inline_datum": "19a6aa",
"collateral": false,
"reference_script_hash": "13a3efd825703a352a8f71f4e2758d08c28c564e8dfcce9f77776ad1"
}
]
}
Bad request
Schema
{
"status_code": 400,
"error": "Bad Request",
"message": "Backend did not understand your request."
}
Authentication secret is missing or invalid
Schema
{
"status_code": 403,
"error": "Forbidden",
"message": "Invalid project token."
}
Component not found
Schema
{
"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
Schema
{
"status_code": 418,
"error": "Requested Banned",
"message": "IP has been auto-banned for flooding."
}
Usage limit reached
Schema
{
"status_code": 429,
"error": "Project Over Limit",
"message": "Usage is over limit."
}
Internal Server Error
Schema
{
"status_code": 500,
"error": "Internal Server Error",
"message": "An unexpected response was received from the backend."
}