@ledgerhq/coin-canton
Version:
21 lines • 763 B
TypeScript
import { CryptoCurrency } from "@ledgerhq/ledger-wallet-framework/types";
import BigNumber from "bignumber.js";
import type { PrepareTransferRequest, PrepareTransferResponse } from "../../types/gateway";
export declare function craftTransaction(currency: CryptoCurrency, account: {
address: string;
nextSequenceNumber?: number;
publicKey?: string;
}, transaction: {
recipient?: string;
amount: BigNumber;
tokenId: string;
expireInSeconds: number;
memo?: string;
pickingStrategy?: PrepareTransferRequest["picking_strategy"];
instrumentAdmin?: string;
}): Promise<{
nativeTransaction: PrepareTransferResponse["json"];
serializedTransaction: string;
hash: string;
}>;
//# sourceMappingURL=craftTransaction.d.ts.map