lib/bitcoin/builder.rb
# Set recipient address and script type (defaults to :address).
Set recipient address and script type (defaults to :address).
Set recipient address and script type ( defaults to : address ) .
def to(recipient, type = :address)
        @txout.pk_script, @txout.redeem_script = *Bitcoin::Script.send(
          "to_#{type}_script", *recipient
        )
      end
def to ( recipient , type = :address ) @txout . pk_script , @txout . redeem_script = * Bitcoin :: Script . send ( "to_#{type}_script" , * recipient ) end
Set recipient address and script type (defaults to :address).
Set recipient address and script type ( defaults to : address ) .
recipient
<not_specific>
type
<not_specific>