@pooflabs/web 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ import { Connection } from '@solana/web3.js';
2
+ /**
3
+ * Extracts a human-readable error message from Solana transaction logs.
4
+ */
5
+ export declare function extractTransactionError(err: any, logMessages?: string[] | null): string;
6
+ /**
7
+ * Polls getSignatureStatuses until the transaction is confirmed, then checks for errors.
8
+ * Throws if the transaction failed on-chain. Returns parsed transaction info on success.
9
+ */
10
+ export declare function confirmAndCheckTransaction(connection: Connection, signature: string): Promise<any>;