Class: CardanoWallet::Byron::Init

Inherits:
CardanoWallet::Base show all
Defined in:
lib/cardano_wallet/byron.rb

Overview

Init class for Byron APIs.

Examples:

@cw = CardanoWallet.new
@cw.byron.wallets # API for Byron wallets
@cw.byron.assets # API for Byron assets
@cw.byron.coin_selections # API for Byron coin_selections
@cw.byron.addresses # API for Byron addresses
@cw.byron.transactions # API for Byron transactions
@cw.byron.migrations # API for Byron migrations

Instance Attribute Summary

Attributes inherited from CardanoWallet::Base

#opt

Instance Method Summary collapse

Methods inherited from CardanoWallet::Base

#byron, #initialize, #misc, #shared, #shelley, #utils

Constructor Details

This class inherits a constructor from CardanoWallet::Base

Instance Method Details

#addressesObject

Get API for Byron addresses



33
34
35
# File 'lib/cardano_wallet/byron.rb', line 33

def addresses
  Addresses.new @opt
end

#assetsObject

API for Assets



57
58
59
# File 'lib/cardano_wallet/byron.rb', line 57

def assets
  Assets.new @opt
end

#coin_selectionsObject

API for CoinSelections



39
40
41
# File 'lib/cardano_wallet/byron.rb', line 39

def coin_selections
  CoinSelections.new @opt
end

#migrationsObject

Get API for Byron migrations



51
52
53
# File 'lib/cardano_wallet/byron.rb', line 51

def migrations
  Migrations.new @opt
end

#transactionsObject

Get API for Byron transactions



45
46
47
# File 'lib/cardano_wallet/byron.rb', line 45

def transactions
  Transactions.new @opt
end

#walletsObject

Get API for Byron wallets



27
28
29
# File 'lib/cardano_wallet/byron.rb', line 27

def wallets
  Wallets.new @opt
end