Module: Elrond::Api::Wallet::Endpoints::Transactions

Included in:
Client
Defined in:
lib/elrond/api/wallet/endpoints/transactions.rb

Instance Method Summary collapse

Instance Method Details

#request_tokens(address, options: {}) ⇒ Object



7
8
9
# File 'lib/elrond/api/wallet/endpoints/transactions.rb', line 7

def request_tokens(address, options: {})
  response    =   post("/transaction/send-user-funds", data: {receiver: address}, options: options)&.body
end