toTx() {
    switch(this.format) {
      case 'tx':
        return this.src
      case 'txo':
        return TXO.toTx(this)
      case 'bob':
        return BOB.toTx(this)
    }
  }
/**
   * Converts the Shapeshifter to a structured BSV Tx object.
   *
   * @returns {Tx}
   */
Converts the Shapeshifter to a structured BSV Tx object.
@returns {Tx}
Converts the Shapeshifter to a structured BSV Tx object . @returns { Tx }
toTx() {
    switch(this.format) {
      case 'tx':
        return this.src
      case 'txo':
        return TXO.toTx(this)
      case 'bob':
        return BOB.toTx(this)
    }
  }
toTx ( ) { switch ( this . format ) { case 'tx' : return this . src case 'txo' : return TXO . toTx ( this ) case 'bob' : return BOB . toTx ( this ) } }
Converts the Shapeshifter to a structured BSV Tx object.
Converts the Shapeshifter to a structured BSV Tx object .