UNPKG

@coolwallet/ton

Version:
11 lines (9 loc) 673 B
import { TransferTokenTransaction, TransferTransaction } from '../config/types'; /** 1. Currently, Pro card firmware only supports writing data in Byte, so each bit needs to be written as a byte, and the bits must be converted into bytes before signing. 2. Each toncoin transaction data is composed of one or more Cells, and each Cell contains 1023 bits of data. */ export declare function saveBitAsByte(hex: string): string; export declare function getArgument(transaction: Required<TransferTransaction>, addressIndex: number): string; export declare function getTransferTokenArgument(transaction: Required<TransferTokenTransaction>, addressIndex: number): string;