UNPKG

@saberhq/sail

Version:

Account caching and batched loading for React-based Solana applications.

15 lines 529 B
export declare enum TransactionErrorType { NotConfirmed = "not-confirmed", Cancelled = "cancelled", NodeBehind = "node-behind", SignatureRequestDenied = "signature-request-denied", InsufficientSOL = "insufficient-sol", BlockhashNotFound = "blockhash-not-found" } /** * Categorizes an error coming from the Solana Web3 SDK. * @param msg * @returns */ export declare const categorizeTransactionError: (msg: string) => TransactionErrorType | null; //# sourceMappingURL=categorizeTransactionError.d.ts.map