@parcl-finance/product-sdk
Version:
TypeScript SDK for interacting with Parcl's product APIs
6 lines • 319 B
TypeScript
import { BN } from "@project-serum/anchor";
import { Decimal } from "decimal.js";
import { Value } from "../types";
export declare function formatValue(value: Decimal, decimals: number): string;
export declare function getValue(value: BN | Decimal | string, decimals: number): Value;
//# sourceMappingURL=value.d.ts.map