Description

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

Param: inMemoryViewingKey

Holds the sapling viewing key

Param: saplingContractId

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

Param: readProvider

Allows to read data from the blockchain

Constructors

Methods

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

    Description

    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

Generated using TypeDoc