@harmoniclabs/plu-ts-offchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
5 lines (4 loc) • 335 B
TypeScript
import { ScriptType, Tx } from "@harmoniclabs/cardano-ledger-ts";
import type { ToDataVersion } from "@harmoniclabs/cardano-ledger-ts/dist/toData/defaultToDataVersion";
export declare function scriptTypeToDataVersion(scriptType: ScriptType): ToDataVersion | undefined;
export declare function estimateMaxSignersNeeded(tx: Tx): number;