All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.gstojsic.bitcoin.proxy.json.model.PsbtInputs Maven / Gradle / Ivy

The newest version!
package io.github.gstojsic.bitcoin.proxy.json.model;

import io.github.gstojsic.bitcoin.proxy.json.annotation.JsonProperty;

import java.util.List;
import java.util.Map;

public class PsbtInputs {
    /**
     * (json object, optional) Decoded network transaction for non-witness UTXOs
     */
    @JsonProperty("non_witness_utxo")
    private RawTransaction nonWitnessUtxo;

    /**
     * (json object, optional) Transaction output for witness UTXOs
     */
    @JsonProperty("witness_utxo")
    private PsbtTxOutput witnessUtxo;

    /**
     * partial_signatures
     */
    @JsonProperty("partial_signatures")
    private Map partialSignatures;

    /**
     * (string, optional) The sighash type to be used
     */
    @JsonProperty("sighash")
    private String sigHash;

    /**
     * redeem_script
     */
    @JsonProperty("redeem_script")
    private ScriptPubKey redeemScript;

    /**
     * witness_script
     */
    @JsonProperty("witness_script")
    private ScriptPubKey witnessScript;

    /**
     * bip32_derivs
     */
    @JsonProperty("bip32_derivs")
    private List bip32Derivs;

    /**
     * final_scriptSig
     */
    @JsonProperty("final_scriptSig")
    private ScriptPubKey finalScriptSig;

    /**
     * final_scriptwitness
     */
    @JsonProperty("final_scriptwitness")
    private List finalScriptWitness;

    /**
     * ripemd160_preimages
     */
    @JsonProperty("ripemd160_preimages")
    private Map ripemd160Preimages;

    /**
     * sha256_preimages
     */
    @JsonProperty("sha256_preimages")
    private Map sha256Preimages;

    /**
     * hash160_preimages
     */
    @JsonProperty("hash160_preimages")
    private Map hash160Preimages;

    /**
     * hash256_preimages
     */
    @JsonProperty("hash256_preimages")
    private Map hash256Preimages;

    /**
     * (string, optional) hex-encoded signature for the Taproot key path spend
     */
    @JsonProperty("taproot_key_path_sig")
    private String taprootKeyPathSig;

    /**
     * The signatures for the pubkey and leaf hash combination
     */
    @JsonProperty("taproot_script_path_sigs")
    private List taprootScriptPathSigs;

    /**
     * taproot scripts
     */
    @JsonProperty("taproot_scripts")
    private List taprootScripts;

    @JsonProperty("taproot_bip32_derivs")
    private List taprootBip32Derivs;

    /**
     * (string, optional) The hex-encoded Taproot x-only internal key
     */
    @JsonProperty("taproot_internal_key")
    private String taprootInternalKey;

    /**
     * (string, optional) The hex-encoded Taproot merkle root
     */
    @JsonProperty("taproot_merkle_root")
    private String taprootMerkleRoot;

    /**
     * (json object, optional) The unknown input fields
     */
    private Map unknown;

    /**
     * (json array, optional) The input proprietary map
     */
    private List proprietary;

    public RawTransaction getNonWitnessUtxo() {
        return nonWitnessUtxo;
    }

    public void setNonWitnessUtxo(RawTransaction nonWitnessUtxo) {
        this.nonWitnessUtxo = nonWitnessUtxo;
    }

    public PsbtTxOutput getWitnessUtxo() {
        return witnessUtxo;
    }

    public void setWitnessUtxo(PsbtTxOutput witnessUtxo) {
        this.witnessUtxo = witnessUtxo;
    }

    public Map getPartialSignatures() {
        return partialSignatures;
    }

    public void setPartialSignatures(Map partialSignatures) {
        this.partialSignatures = partialSignatures;
    }

    public String getSigHash() {
        return sigHash;
    }

    public void setSigHash(String sigHash) {
        this.sigHash = sigHash;
    }

    public ScriptPubKey getRedeemScript() {
        return redeemScript;
    }

    public void setRedeemScript(ScriptPubKey redeemScript) {
        this.redeemScript = redeemScript;
    }

    public ScriptPubKey getWitnessScript() {
        return witnessScript;
    }

    public void setWitnessScript(ScriptPubKey witnessScript) {
        this.witnessScript = witnessScript;
    }

    public List getBip32Derivs() {
        return bip32Derivs;
    }

    public void setBip32Derivs(List bip32Derivs) {
        this.bip32Derivs = bip32Derivs;
    }

    public ScriptPubKey getFinalScriptSig() {
        return finalScriptSig;
    }

    public void setFinalScriptSig(ScriptPubKey finalScriptSig) {
        this.finalScriptSig = finalScriptSig;
    }

    public List getFinalScriptWitness() {
        return finalScriptWitness;
    }

    public void setFinalScriptWitness(List finalScriptWitness) {
        this.finalScriptWitness = finalScriptWitness;
    }

    public Map getRipemd160Preimages() {
        return ripemd160Preimages;
    }

    public void setRipemd160Preimages(Map ripemd160Preimages) {
        this.ripemd160Preimages = ripemd160Preimages;
    }

    public Map getSha256Preimages() {
        return sha256Preimages;
    }

    public void setSha256Preimages(Map sha256Preimages) {
        this.sha256Preimages = sha256Preimages;
    }

    public Map getHash160Preimages() {
        return hash160Preimages;
    }

    public void setHash160Preimages(Map hash160Preimages) {
        this.hash160Preimages = hash160Preimages;
    }

    public Map getHash256Preimages() {
        return hash256Preimages;
    }

    public void setHash256Preimages(Map hash256Preimages) {
        this.hash256Preimages = hash256Preimages;
    }

    public String getTaprootKeyPathSig() {
        return taprootKeyPathSig;
    }

    public void setTaprootKeyPathSig(String taprootKeyPathSig) {
        this.taprootKeyPathSig = taprootKeyPathSig;
    }

    public List getTaprootScriptPathSigs() {
        return taprootScriptPathSigs;
    }

    public void setTaprootScriptPathSigs(List taprootScriptPathSigs) {
        this.taprootScriptPathSigs = taprootScriptPathSigs;
    }

    public List getTaprootScripts() {
        return taprootScripts;
    }

    public void setTaprootScripts(List taprootScripts) {
        this.taprootScripts = taprootScripts;
    }

    public List getTaprootBip32Derivs() {
        return taprootBip32Derivs;
    }

    public void setTaprootBip32Derivs(List taprootBip32Derivs) {
        this.taprootBip32Derivs = taprootBip32Derivs;
    }

    public String getTaprootInternalKey() {
        return taprootInternalKey;
    }

    public void setTaprootInternalKey(String taprootInternalKey) {
        this.taprootInternalKey = taprootInternalKey;
    }

    public String getTaprootMerkleRoot() {
        return taprootMerkleRoot;
    }

    public void setTaprootMerkleRoot(String taprootMerkleRoot) {
        this.taprootMerkleRoot = taprootMerkleRoot;
    }

    public Map getUnknown() {
        return unknown;
    }

    public void setUnknown(Map unknown) {
        this.unknown = unknown;
    }

    public List getProprietary() {
        return proprietary;
    }

    public void setProprietary(List proprietary) {
        this.proprietary = proprietary;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy