@saberhq/sail
Version:
Account caching and batched loading for React-based Solana applications.
10 lines • 430 B
TypeScript
import type { Token } from "@saberhq/token-utils";
import { TokenAmount } from "@saberhq/token-utils";
/**
* Parses a {@link TokenAmount}.
* @param token The token.
* @param valueStr The string representation of the amount.
* @returns
*/
export declare const useTokenAmount: (token: Token | null | undefined, valueStr: string | null | undefined) => TokenAmount | null | undefined;
//# sourceMappingURL=useTokenAmount.d.ts.map