Blockchain Indexer API
Transactions

Transaction output by output reference

1min
GET
https://mainnet.gomaestro-api.org/v1/transactions/{tx_hash}/outputs/{index}/txo
Cardano Mainnet

Returns the specified transaction output. Attempts to resolve the datum hash to the corresponding bytes and JSON, should the output contain a datum hash.

Authentication
api-key
Path Parameters
tx_hash
*
index
*
Header Parameters
amounts-as-strings
Query Parameters
with_cbor
Responses
200
Get a transaction output via it's output reference
Example
{"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}}
Description
Timestamped response. Returns the endpoint response data along with the chain-tip of the indexer, which details at which point in the chain's history the data was correct as-of.
data
*
last_updated
*
400
Malformed query parameters
404
No results found
500
Internal server error