Class: CardanoWallet::Shelley::Addresses
- Defined in:
- lib/cardano_wallet/shelley.rb
Overview
API for Addresses
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#list(wid, query = {}) ⇒ Object
List addresses.
Methods inherited from Base
#byron, #initialize, #misc, #shared, #shelley, #utils
Constructor Details
This class inherits a constructor from CardanoWallet::Base
Instance Method Details
#list(wid, query = {}) ⇒ Object
List addresses
246 247 248 249 |
# File 'lib/cardano_wallet/shelley.rb', line 246 def list(wid, query = {}) query_formatted = query.empty? ? '' : Utils.to_query(query) self.class.get("/wallets/#{wid}/addresses#{query_formatted}") end |