sdk.typedscript
Home > @blaze-cardano/sdk > TypedScript
TypedScript class
Script wrapper that binds a datum type and redeemer type to one script.
Signature:
declare class TypedScript<DatumType extends PlutusData, RedeemerType extends PlutusData>
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
DatumType |
(Optional) Type-only datum marker used for generic inference. | |
|
|
RedeemerType |
(Optional) Type-only redeemer marker used for generic inference. | |
|
|
string | undefined |
(Optional) Human-readable identifier included in builder error messages. Blueprint codegen sets it to the validator's blueprint title. | |
|
|