curl --request POST \
--url https://mainnet.gomaestro-api.org/v1/transactions/outputs \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
[
"a90e31b3de59452659617c351e5f746b819cb8b026bf945dd41b4cc199bcc8c9#1",
"31a84c3c6200bec2498b18c42f882fa690cd0d32a9c84a2019eb5cc42f5971d0#0"
]
'{
"data": [
{
"tx_hash": "31a84c3c6200bec2498b18c42f882fa690cd0d32a9c84a2019eb5cc42f5971d0",
"index": 0,
"assets": [
{
"unit": "lovelace",
"amount": 27660180
}
],
"address": "addr1wxn9efv2f6w82hagxqtn62ju4m293tqvw0uhmdl64ch8uwc0h43gt",
"datum": {
"type": "hash",
"hash": "f03819a4039003a8c6b65153351adbc61f983bd22787ed238a5b4f24a01aa5d6",
"bytes": "d8799fd8799fd8799f581cfc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4cffd8799fd8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd8799fd8799f581cfc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4cffd8799fd8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd87a80d87a9fd8799f581c25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c47534f4349455459ff1a0bebc200ff1a001e84801a001e8480ff",
"json": {
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "fc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4c"
}
]
},
{
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "d756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29"
}
]
}
]
}
]
}
]
},
{
"fields": [
{
"fields": [
{
"bytes": "fc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4c"
}
]
},
{
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "d756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29"
}
]
}
]
}
]
}
]
},
{
"constructor": 1,
"fields": []
},
{
"constructor": 1,
"fields": [
{
"constructor": 0,
"fields": [
{
"bytes": "25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c"
},
{
"bytes": "534f4349455459"
}
]
},
{
"int": 200000000
}
]
},
{
"int": 2000000
},
{
"int": 2000000
}
]
}
},
"reference_script": null,
"txout_cbor": null
},
{
"tx_hash": "a90e31b3de59452659617c351e5f746b819cb8b026bf945dd41b4cc199bcc8c9",
"index": 1,
"assets": [
{
"unit": "lovelace",
"amount": 118671749
}
],
"address": "addr1qy27nwry749alh8ajmkghml67j9egdx9asgcnsjk8wldfs40m5d3qle5j85vfd335zzxfdz9eshkjh58svvjwtgxt0tskx7f5l",
"datum": null,
"reference_script": null,
"txout_cbor": null
}
],
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "bdf4630098ac6923e0ef1ca0b0d6e00dca96790a8c3dd670948fdfe1456798d2",
"block_slot": 73867237
},
"next_cursor": null
}Get multiple Cardano transaction outputs by their references in a single batch request for efficiency.
curl --request POST \
--url https://mainnet.gomaestro-api.org/v1/transactions/outputs \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
[
"a90e31b3de59452659617c351e5f746b819cb8b026bf945dd41b4cc199bcc8c9#1",
"31a84c3c6200bec2498b18c42f882fa690cd0d32a9c84a2019eb5cc42f5971d0#0"
]
'{
"data": [
{
"tx_hash": "31a84c3c6200bec2498b18c42f882fa690cd0d32a9c84a2019eb5cc42f5971d0",
"index": 0,
"assets": [
{
"unit": "lovelace",
"amount": 27660180
}
],
"address": "addr1wxn9efv2f6w82hagxqtn62ju4m293tqvw0uhmdl64ch8uwc0h43gt",
"datum": {
"type": "hash",
"hash": "f03819a4039003a8c6b65153351adbc61f983bd22787ed238a5b4f24a01aa5d6",
"bytes": "d8799fd8799fd8799f581cfc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4cffd8799fd8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd8799fd8799f581cfc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4cffd8799fd8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd87a80d87a9fd8799f581c25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c47534f4349455459ff1a0bebc200ff1a001e84801a001e8480ff",
"json": {
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "fc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4c"
}
]
},
{
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "d756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29"
}
]
}
]
}
]
}
]
},
{
"fields": [
{
"fields": [
{
"bytes": "fc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4c"
}
]
},
{
"fields": [
{
"fields": [
{
"fields": [
{
"bytes": "d756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29"
}
]
}
]
}
]
}
]
},
{
"constructor": 1,
"fields": []
},
{
"constructor": 1,
"fields": [
{
"constructor": 0,
"fields": [
{
"bytes": "25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c"
},
{
"bytes": "534f4349455459"
}
]
},
{
"int": 200000000
}
]
},
{
"int": 2000000
},
{
"int": 2000000
}
]
}
},
"reference_script": null,
"txout_cbor": null
},
{
"tx_hash": "a90e31b3de59452659617c351e5f746b819cb8b026bf945dd41b4cc199bcc8c9",
"index": 1,
"assets": [
{
"unit": "lovelace",
"amount": 118671749
}
],
"address": "addr1qy27nwry749alh8ajmkghml67j9egdx9asgcnsjk8wldfs40m5d3qle5j85vfd335zzxfdz9eshkjh58svvjwtgxt0tskx7f5l",
"datum": null,
"reference_script": null,
"txout_cbor": null
}
],
"last_updated": {
"timestamp": "2022-10-10 20:25:28",
"block_hash": "bdf4630098ac6923e0ef1ca0b0d6e00dca96790a8c3dd670948fdfe1456798d2",
"block_slot": 73867237
},
"next_cursor": null
}Project API Key
Try find and include the corresponding datums for datum hashes
Include the CBOR encoding of the transaction output in the response
Do not return 404 if any transactions are not found (404 will still be returned if you specify an index higher than the number of outputs in a transaction)
The max number of results per page
x >= 0Pagination cursor string, use the cursor included in a page of results to fetch the next page
Get transaction outputs via output references
A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.
Endpoint response data
Show child attributes
Address which controls the UTxO
List of assets contained in the UTxO
Show child attributes
UTxO transaction index
x >= 0UTxO transaction hash
Datum (inline or hash)
Show child attributes
Datum hash
Datum type (inline datum or datum hash)
hash, inline Hex encoded datum CBOR bytes (null if datum type is hash and corresponding datum bytes have not been seen on-chain)
JSON representation of the datum (null if datum type is hash and corresponding datum bytes have not been seen on-chain)
Details of a Native or Plutus script
Show child attributes
Script bytes
Script hash
Script type and version
native, plutusv1, plutusv2, plutusv3 JSON representation of script (null if script not of native type)
Hex encoded transaction output CBOR bytes
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.
Show child attributes
Hex-encoded hash of the most recently processed block (aka chain tip)
Absolute slot of the most recently processed block (aka chain tip)
x >= 0UTC timestamp of when the most recently processed block was minted
Pagination cursor
Was this page helpful?