getSolanaErrorFromInstructionError

function getSolanaErrorFromInstructionError(
    index,
    instructionError,
): SolanaError;

Parameters

ParameterTypeDescription
indexnumber | bigintThe index of the instruction inside the transaction.
instructionError| string | { [key: string]: unknown; }-

Returns

SolanaError

On this page