UNPKG

@macalinao/grill

Version:

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

21 lines 716 B
import type { GetExplorerLinkFunction } from "../contexts/grill-context.js"; /** * Creates a Solscan explorer link for viewing transactions, addresses, or blocks. * * @param args - The arguments for generating the explorer link * @returns A Solscan URL string for the specified resource * * @example * // For a transaction * getSolscanExplorerLink({ transaction: signature }) * * @example * // For an address * getSolscanExplorerLink({ address: publicKey }) * * @example * // For a specific cluster * getSolscanExplorerLink({ transaction: signature, cluster: "devnet" }) */ export declare const getSolscanExplorerLink: GetExplorerLinkFunction; //# sourceMappingURL=get-solscan-explorer-link.d.ts.map