class ArkEcosystem::Crypto::Transactions::Builder::Transfer

The builder for transfer transactions.

Public Instance Methods

set_amount(amount) click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/transfer.rb, line 16
def set_amount(amount)
  @transaction.amount = amount
  self
end
set_recipient_id(recipient_id) click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/transfer.rb, line 11
def set_recipient_id(recipient_id)
  @transaction.recipient_id = recipient_id
  self
end
set_vendor_field(vendor_field) click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/transfer.rb, line 21
def set_vendor_field(vendor_field)
  @transaction.vendor_field = vendor_field
  self
end
type() click to toggle source
# File lib/arkecosystem/crypto/transactions/builder/transfer.rb, line 26
def type
  ArkEcosystem::Crypto::Enums::Types::TRANSFER
end