Taquito TypeDocs
    Preparing search index...

    Class SaplingTransactionViewer

    Allows to retrieve and decrypt sapling transactions using on a viewing key

    Holds the sapling viewing key

    Address of the sapling contract or sapling id if the smart contract contains multiple sapling states

    Allows to read data from the blockchain

    Index

    Constructors

    Methods

    • Retrieve all the incoming and outgoing transactions associated with the configured viewing key. The response properties are in Uint8Array format; use the getIncomingAndOutgoingTransactions method for readable properties

      Returns Promise<
          {
              incoming: {
                  isSpent: boolean;
                  memo: Uint8Array;
                  paymentAddress: Uint8Array;
                  position: number;
                  randomCommitmentTrapdoor: Uint8Array;
                  value: Uint8Array;
              }[];
              outgoing: Omit<Input, "position">[];
          },
      >