@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Interface InputUtxo

    A spent UTXO or reserved address carrying the nullifier public key rather than the secret, for callers that hash a transaction they cannot sign. createInputUtxo builds one, and a ProofInputUtxo is one too.

    interface InputUtxo {
        addressNullifier?: Bytes32;
        utxo: Utxo;
        nullifierPublicKey: Bytes32;
        treeId: number;
        ringDataHash?: Bytes32;
        dataHash?: Bytes32;
        hash(): Bytes32;
        isDummy(): boolean;
    }
    Index
    addressNullifier?: Bytes32

    Set only for an address input: the address it reserves, which is the nullifier it publishes. createEncryptedTransaction rederives it from the other fields and refuses a mismatch. Absent for state spends and padding.

    utxo: Utxo
    nullifierPublicKey: Bytes32
    treeId: number

    The tree the UTXO is spent from.

    ringDataHash?: Bytes32
    dataHash?: Bytes32