public function addOutput($output) {
        $output = $this->outputNormalizer->normalize([$output])[0];

        $this->outputs[] = $output;

        return $this;
    }
public function addOutput($output) {
        $output = $this->outputNormalizer->normalize([$output])[0];

        $this->outputs[] = $output;

        return $this;
    }
public function addOutput ( $ output ) { $ output = $ this -> outputNormalizer -> normalize ( [ $ output ] ) [ 0 ] ; $ this -> outputs [ ] = $ output ; return $ this ; }
add a 'raw' output, normally addRecipient or addOpReturn should be used

@param array $output     [value => int, address => string]
or [value => int, scriptPubKey => string] (scriptPubKey should be hex)
@return $this
add a raw output normally addRecipient or addOpReturn should be used