@solana-developers/helpers
Version:
Solana helper functions
4 lines • 352 B
TypeScript
import { Cluster } from "@solana/web3.js";
export declare const getCustomErrorMessage: (possibleProgramErrors: Array<string>, errorMessage: string) => string | null;
export declare const getExplorerLink: (linkType: "transaction" | "tx" | "address" | "block", id: string, cluster?: Cluster | "localnet") => string;
//# sourceMappingURL=explorer.d.ts.map