curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/datums/{datum_hash} \
--header 'api-key: <api-key>'{
"data": {
"json": {
"fields": [
{
"bytes": "76140b3e82b58a9439ce10473d0d7c40ec9165fb03662c499a9162f95b9ec34641adbb83203c5276eaa35fc95c3776e00779ca412777cdc5201b53184d365306"
},
{
"fields": [
{
"fields": [
{
"int": 100000
},
{
"int": 36069
}
]
},
{
"fields": [
{
"fields": [
{
"constructor": 1,
"fields": [
{
"int": 1676063825000
}
]
},
{
"constructor": 1,
"fields": []
}
]
},
{
"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
}
}Get Cardano datum details by datum hash including CBOR data and JSON representation for smart contract interactions.
curl --request GET \
--url https://mainnet.gomaestro-api.org/v1/datums/{datum_hash} \
--header 'api-key: <api-key>'{
"data": {
"json": {
"fields": [
{
"bytes": "76140b3e82b58a9439ce10473d0d7c40ec9165fb03662c499a9162f95b9ec34641adbb83203c5276eaa35fc95c3776e00779ca412777cdc5201b53184d365306"
},
{
"fields": [
{
"fields": [
{
"int": 100000
},
{
"int": 36069
}
]
},
{
"fields": [
{
"fields": [
{
"constructor": 1,
"fields": [
{
"int": 1676063825000
}
]
},
{
"constructor": 1,
"fields": []
}
]
},
{
"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
}
}Project API Key
Hex encoded datum hash
Datum corresponding to the datum hash
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.
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
Was this page helpful?