UNPKG

@j0nnyboi/amman

Version:

A modern mandatory toolbelt to help test solana SDK libraries and apps on a locally running validator.

7 lines (6 loc) 276 B
import { TransactionError } from '@safecoin/web3.js'; export declare type ProgramError = { index: number; message: string; }; export declare function getTransactionInstructionError(error?: TransactionError | Record<'InstructionError', any>): ProgramError | undefined;