@solana/errors
Version:
Throw, identify, and decode Solana JavaScript errors
9 lines • 308 B
TypeScript
import { SolanaError } from './error';
export declare function getSolanaErrorFromInstructionError(
/**
* The index of the instruction inside the transaction.
*/
index: bigint | number, instructionError: string | {
[key: string]: unknown;
}): SolanaError;
//# sourceMappingURL=instruction-error.d.ts.map