@ledgerhq/coin-cardano
Version:
Ledger Cardano Coin integration
17 lines • 673 B
TypeScript
import { Transaction as TyphonTransaction } from "@stricahq/typhonjs";
import { SignerTxCertificate, SignerTxInput, SignerTxOutput, SignerTxWithdrawal } from "./signer";
/**
* Convert StricaTypes Transaction into a simpler types.
* We are keeping the minimal necessary for a signer.
*/
export default function (transaction: TyphonTransaction, accountIndex: number): {
inputs: SignerTxInput[];
outputs: SignerTxOutput[];
certificates: SignerTxCertificate[];
withdrawals: SignerTxWithdrawal[];
fee: string;
ttl: string | undefined;
validityIntervalStart: null;
auxiliaryData: string | null;
};
//# sourceMappingURL=typhonSerializer.d.ts.map