@trezor/connect
Version:
High-level javascript interface for Trezor hardware wallet.
9 lines • 865 B
TypeScript
import { types } from '@fivebinaries/coin-selection';
import { AccountUtxo, CardanoCertificate } from '../../types';
export declare const transformUtxos: (utxos: AccountUtxo[]) => types.Utxo[];
export declare const prepareCertificates: (certs: CardanoCertificate[]) => types.Certificate[];
export declare const getTtl: (testnet: boolean) => number;
export declare const composeTxPlan: (descriptor: string, utxo: AccountUtxo[], outputs: types.UserOutput[], certificates: CardanoCertificate[], withdrawals: types.Withdrawal[], changeAddress: string, isTestnet: boolean, options?: types.Options) => types.PrecomposedTransaction;
export declare const hexStringByteLength: (s: string) => number;
export declare const sendChunkedHexString: (typedCall: any, data: string, chunkSize: number, messageType: string) => Promise<void>;
//# sourceMappingURL=cardanoUtils.d.ts.map