Taquito TypeDocs
    Preparing search index...

    Function chunkOperation

    • In order not to exceed the data length allowed by the Ledger device, split the operation into buffers of 230 bytes (max) and add them to the message to send to the Ledger

      Parameters

      • messageToSend: Uint8Array<ArrayBufferLike>[]

        The message to send to the Ledger device

      • operation: Uint8Array

        The operation which will be chunk if its length is over 230 bytes

      Returns Uint8Array<ArrayBufferLike>[]

      The instruction to send to the Ledger device