sdk.blockfrost.resolvedatum
Home > @blaze-cardano/sdk > Blockfrost > resolveDatum
Blockfrost.resolveDatum() method
This method returns the datum for the datum hash given as argument. The response is parsed into a PlutusData type, which is then returned. If the response is not in the expected format, an error is thrown.
Signature:
resolveDatum(datumHash: DatumHash): Promise<PlutusData>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| datumHash | The hash of a datum | 
Returns:
Promise<PlutusData>
A Promise that resolves to PlutusData