UNPKG

@algofi/js-sdk

Version:

The official Algofi JavaScript SDK

10 lines (9 loc) 633 B
import { Address, Transaction } from "algosdk"; export declare function roundDown(amount: number, decimals: number): number; export declare function roundUp(amount: number, decimals: number): number; export declare function concatArrays(arrays: Uint8Array[]): Uint8Array; export declare function formatPrefixState(state: {}): {}; export declare function parseAddressBytes(bytes: string): string; export declare function decodeBytes(bytes: string): Uint8Array; export declare function addressEquals(a: Address, b: Address): boolean; export declare function composeTransactions(txnsToCompose: Transaction[][]): Transaction[];