toBob() {
    switch(this.format) {
      case 'tx':
        return BOB.fromTx(this)
      case 'txo':
        return BOB.fromTxo(this)
      case 'bob':
        return this.src
    }
  }
/**
   * Converts the Shapeshifter to a BOB formatted object.
   *
   * @returns {Object}
   */
Converts the Shapeshifter to a BOB formatted object.
@returns {Object}
Converts the Shapeshifter to a BOB formatted object . @returns { Object }
toBob() {
    switch(this.format) {
      case 'tx':
        return BOB.fromTx(this)
      case 'txo':
        return BOB.fromTxo(this)
      case 'bob':
        return this.src
    }
  }
toBob ( ) { switch ( this . format ) { case 'tx' : return BOB . fromTx ( this ) case 'txo' : return BOB . fromTxo ( this ) case 'bob' : return this . src } }
Converts the Shapeshifter to a BOB formatted object.
Converts the Shapeshifter to a BOB formatted object .