Taquito TypeDocs
    Preparing search index...

    Function extractValue

    • Extract a part of the response returned by the Ledger

      Parameters

      • idxLength: number

        The index in the response from the Ledger that corresponds to the length of the part to extract

      • response: Buffer

        The signature returned by the Ledger (return from the signWithLedger function)

      Returns { buffer: Buffer<ArrayBuffer>; idxValueStart: number; length: number }

      An object that contains the extracted buffer, the index where it starts in the response and the length of the extracted part