Blockchain Indexer API
Datums

Datums by hashes

1min
POST
https://mainnet.gomaestro-api.org/v1/datums
Cardano Mainnet

Returns the datums corresponding to the specified datum hashes, if the datums have been seen on-chain

Authentication
api-key
Body Parameters
body
*
Example
["f03819a4039003a8c6b65153351adbc61f983bd22787ed238a5b4f24a01aa5d6","5f7f360208c46d739296ea3ff4f41d85240d94aa3f59e5b1c82c2bbeceb57f23"]
Responses
200
Map of datum hashes to datum objects
Example
{"data":{"5f7f360208c46d739296ea3ff4f41d85240d94aa3f59e5b1c82c2bbeceb57f23":{"json":{"constructor":0,"fields":[{"bytes":"e1d915c10c840017bd39088a82507b27150a438e8907784221491309"},{"bytes":"e1d915c10c840017bd39088a82507b27150a438e8907784221491309"}]},"bytes":"d8799f581ce1d915c10c840017bd3908...1a009896801a9a7ec8001b00000183c392c9a1ff"},"f03819a4039003a8c6b65153351adbc61f983bd22787ed238a5b4f24a01aa5d6":{"json":{"constructor":0,"fields":[{"constructor":0,"fields":[{"constructor":0,"fields":[{"bytes":"fc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4c"}]},{"constructor":0,"fields":[{"constructor":0,"fields":[{"constructor":0,"fields":[{"bytes":"d756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29"}]}]}]}]}]},"bytes":"d8799fd8799fd8799f581cfc6e1b47816bc...d8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd8799fd8799f581cfc6e1b47816bc4a4165a39f3c6dd65868e6b74a743dc2dcf54eb2d4cffd8799fd8799fd8799f581cd756fb7ceee90ed5af3f193d73f9970ca640ab540eedac272cb28c29ffffffffd87a80d87a9fd8799f581c25f0fc240e91bd95dcdaebd2ba7713fc5168ac77234a3d79449fc20c47534f4349455459ff1a0bebc200ff1a001e84801a001e8480ff"}},"last_updated":{"timestamp":"2023-10-18 07:30:52","block_hash":"0e1e924710135acfe200ab13d290bd282a67584fd54456f0dcac0aeaa38bb2c2","block_slot":106047961}}
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
500
Internal server error