UNPKG

@macalinao/grill

Version:

Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications

8 lines 387 B
import { getMintDecoder } from "@solana-program/token"; import { createDecodedAccountHook } from "./create-decoded-account-hook.js"; /** * Hook for fetching and decoding a mint account * Useful for getting token information like decimals, supply, and authorities */ export const useMintAccount = createDecodedAccountHook(getMintDecoder()); //# sourceMappingURL=use-mint-account.js.map