"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionBase = void 0;
class TransactionBase {
    _wasm;
    constructor(wasm) {
        this._wasm = wasm;
    }
    inputCount() {
        return this._wasm.input_count();
    }
    outputCount() {
        return this._wasm.output_count();
    }
    version() {
        return this._wasm.version();
    }
    lockTime() {
        return this._wasm.lock_time();
    }
    toBytes() {
        return this._wasm.to_bytes();
    }
    getId() {
        return this._wasm.get_txid();
    }
    getInputs() {
        return this._wasm.get_inputs();
    }
    getOutputs() {
        return this._wasm.get_outputs();
    }
    getOutputsWithAddress(coin) {
        return this._wasm.get_outputs_with_address(coin);
    }
}
exports.TransactionBase = TransactionBase;
