Skip to main content

@harmoniclabs/cardano-ledger-tsReadme | API


@harmoniclabs/cardano-ledger-ts / Cip30LikeSignTx

Interface: Cip30LikeSignTx

Properties

signTx

signTx: (txCbor, partial?) => string | Promise<string>

Parameters

txCbor: string

receives the current transaction (this) cbor

partial?: boolean

(standard parameter) wheather to throw or not if the wallet can not sign the entire transaction (true always passed)

Returns

string | Promise<string>

the cbor of the TxWitnessSet (!!! NOT the cbor of the signe transaction !!!)

Source

src/tx/Tx.ts:28