@harmoniclabs/plu-ts-offchain
Version:
An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript
6 lines (5 loc) • 409 B
TypeScript
import { ITxOutRef, IUTxO, TxOutRefStr } from "@harmoniclabs/cardano-ledger-ts";
export type CanResolveToUTxO = IUTxO | ITxOutRef | TxOutRefStr;
export declare function canResolveToUTxO(stuff: any): stuff is CanResolveToUTxO;
export declare function cloneCanResolveToUTxO(stuff: CanResolveToUTxO): CanResolveToUTxO;
export declare function shouldResolveToUTxO(stuff: any): stuff is (ITxOutRef | TxOutRefStr);