Skip to main content
Version: Next

tx.typedscriptdatum

Home > @blaze-cardano/tx > TypedScriptDatum

TypedScriptDatum type

Extract the datum type bound to a typed script.

Signature:

export type TypedScriptDatum<T> = T extends TypedScript<infer DatumType, PlutusData> ? DatumType : never;

References: TypedScript