Blockchain Indexer API
Datums

Datum by datum hash

1min
GET
https://mainnet.gomaestro-api.org/v1/datums/{datum_hash}
Cardano Mainnet

Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain

Authentication
api-key
Path Parameters
datum_hash
*
Responses
200
Datum corresponding to the datum hash
Example
{"data":{"json":{"constructor":0,"fields":[{"bytes":"76140b3e82b58a9439ce10473d0d7c40ec9165fb03662c499a9162f95b9ec34641adbb83203c5276eaa35fc95c3776e00779ca412777cdc5201b53184d365306"},{"constructor":0,"fields":[{"constructor":0,"fields":[{"int":100000},{"int":36069}]},{"constructor":0,"fields":[{"constructor":0,"fields":[{"constructor":1,"fields":[{"int":1676063825000}]},{"constructor":1,"fields":[]}]},{"constructor":0,"fields":[{"constructor":1,"fields":[{"int":1676065625000}]},{"constructor":1,"fields":[]}]}]},{"bytes":"555344"}]},{"bytes":"0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2"}]},"bytes":"d8799f584076140b3e82b58a9439ce10473d0d7c40ec9165fb03662c499a9162f95b9ec34641adbb83203c5276eaa35fc95c3776e00779ca412777cdc5201b53184d365306d8799fd8799f1a000186a0198ce5ffd8799fd8799fd87a9f1b000001863d305c68ffd87a80ffd8799fd87a9f1b000001863d4bd3a8ffd87a80ffff43555344ff581c0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2ff"},"last_updated":{"timestamp":"2022-10-10 20:25:28","block_hash":"391e8974a46a05addd54593722380fdea42f29d7de4acc5729a6ec0663955293","block_slot":32284048}}
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