def send_asset(from, asset_id, amount, to, fees = nil, mode = 'broadcast', output_qty = 1)
      colored_outputs = get_unspent_outputs([oa_address_to_address(from)])
      asset_transfer_spec = OpenAssets::Transaction::TransferParameters.new(colored_outputs, to, from, amount, output_qty)
      tx = create_tx_builder.transfer_asset(asset_id, asset_transfer_spec, from, fees.nil? ? @config[:default_fees]: fees)
      tx = process_transaction(tx, mode)
      tx
    end
def send_asset(from, asset_id, amount, to, fees = nil, mode = 'broadcast', output_qty = 1)
      colored_outputs = get_unspent_outputs([oa_address_to_address(from)])
      asset_transfer_spec = OpenAssets::Transaction::TransferParameters.new(colored_outputs, to, from, amount, output_qty)
      tx = create_tx_builder.transfer_asset(asset_id, asset_transfer_spec, from, fees.nil? ? @config[:default_fees]: fees)
      tx = process_transaction(tx, mode)
      tx
    end
Creates a transaction for sending an asset from an address to another.
 @param[String] from The open asset address to send the asset from.
 @param[String] asset_id The asset ID identifying the asset to send.
 @param[Integer] amount The amount of asset units to send.
 @param[String] to The open asset address to send the asset to.
 @param[Integer] fees The fess in satoshis for the transaction.
 @param[String] mode 'broadcast' (default) for signing and broadcasting the transaction,
 'signed' for signing the transaction without broadcasting,
 'unsigned' for getting the raw unsigned transaction without broadcasting"""='broadcast'
 @return[Bitcoin::Protocol:Tx] The resulting transaction.