Skip to main content

Cip30LikeSignTx

@harmoniclabs/cardano-ledger-ts • Docs


@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 !!!)

Defined in​

src/tx/Tx.ts:28