Transaction output by output reference
Returns the specified transaction output. Attempts to resolve the datum hash to the corresponding bytes and JSON, should the output contain a datum hash.
Path Parameters
Transaction Hash
Output Index
Query Parameters
Include the CBOR encoding of the transaction output in the response
Header Parameters
Large numbers returned as strings if set to true
- 200
- 400
- 404
- 500
Get a transaction output via it's output reference
Schema
- Array [
- ]
data object required
Transaction output
Address which controls the UTxO
assets object[] required
List of assets contained in the UTxO
amount object required
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
integer
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
integer
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
number
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
string
Integer or number by default, or a string representation if the amounts-as-strings
header is set to true
Asset (either lovelace
or concatenation of hex encoded policy ID and asset name for native asset)
datum object nullable
Datum (inline or hash)
Hex encoded datum CBOR bytes (null
if datum type is hash
and corresponding datum bytes have not been seen on-chain)
Datum hash
JSON representation of the datum (null
if datum type is hash
and corresponding datum bytes have not been seen on-chain)
Possible values: [hash
, inline
]
Datum type (inline datum or datum hash)
UTxO transaction index
reference_script object nullable
Details of a Native or Plutus script
Script bytes
Script hash
JSON representation of script (null
if script not of native
type)
Possible values: [native
, plutusv1
, plutusv2
]
Script type and version
UTxO transaction hash
last_updated object required
Details of the most recent block processed by the indexer (aka chain tip); that is, the data returned is correct as of this block in time.
Hex-encoded hash of the most recently processed block (aka chain tip)
Absolute slot of the most recently processed block (aka chain tip)
UTC timestamp of when the most recently processed block was minted
{
"data": {
"address": "string",
"assets": [
{
"amount": 0,
"unit": "string"
}
],
"datum": {
"bytes": "string",
"hash": "string",
"json": {},
"type": "hash"
},
"index": 0,
"reference_script": {
"bytes": "string",
"hash": "string",
"json": {},
"type": "native"
},
"tx_hash": "string"
},
"last_updated": {
"block_hash": "string",
"block_slot": 0,
"timestamp": "string"
}
}
{
"data": {
"tx_hash": "291b983ac75275a933415475d6417413b34eaccc5f0794fd7b9e8d04e7fe077e",
"index": 0,
"assets": [
{
"unit": "lovelace",
"amount": 1224040
},
{
"unit": "0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2446a65644f7261636c654e4654",
"amount": 1
}
],
"address": "addr_test1wzdtu0djc76qyqak9cj239udezj2544nyk3ksmfqvaksv7c9xanpg",
"datum": {
"type": "hash",
"hash": "5fc2400956b1d1828bea0be9c94e95f2b3cebda27c21b07e8a6bada2b2588163",
"bytes": "d8799f584073ab91123886242e4d02de6ed05490d684e99a99c49b957a5f943a80655ac0744372adeacdc7dedb95a818ce676886f1306d439152b82d48de71688008840d00d8799fd8799f1a00030d401a000116e5ffd8799fd8799fd87a9f1b000001863d492040ffd87a80ffd8799fd87a9f1b000001863d649780ffd87a80ffff43555344ff581c0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2ff",
"json": {
"constructor": 0,
"fields": [
{
"bytes": "73ab91123886242e4d02de6ed05490d684e99a99c49b957a5f943a80655ac0744372adeacdc7dedb95a818ce676886f1306d439152b82d48de71688008840d00"
},
{
"constructor": 0,
"fields": [
{
"constructor": 0,
"fields": [
{
"int": 200000
},
{
"int": 71397
}
]
},
{
"constructor": 0,
"fields": [
{
"constructor": 0,
"fields": [
{
"constructor": 1,
"fields": [
{
"int": 1676065448000
}
]
},
{
"constructor": 1,
"fields": []
}
]
},
{
"constructor": 0,
"fields": [
{
"constructor": 1,
"fields": [
{
"int": 1676067248000
}
]
},
{
"constructor": 1,
"fields": []
}
]
}
]
},
{
"bytes": "555344"
}
]
},
{
"bytes": "0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2"
}
]
}
},
"reference_script": null,
"txout_cbor": null
},
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "3c504cc4ce12a511db04838b544820c4e2281c0209a906ca17981cf63a084b7b",
"block_slot": 32295757
}
}
Malformed query parameters
No results found
Internal server error