@macalinao/grill
Version:
Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications
14 lines • 673 B
TypeScript
import type { Mint } from "@solana-program/token";
import type { UseDecodedAccountHook } from "../hooks/create-decoded-account-hook.js";
import type { UseDecodedAccountsHook } from "../hooks/create-decoded-accounts-hook.js";
/**
* Hook for fetching and decoding a mint account
* Useful for getting token information like decimals, supply, and authorities
*/
export declare const useMintAccount: UseDecodedAccountHook<Mint>;
/**
* Hook for fetching and decoding multiple mint accounts
* Useful for getting token information like decimals, supply, and authorities
*/
export declare const useMintAccounts: UseDecodedAccountsHook<Mint>;
//# sourceMappingURL=mint.d.ts.map