Class: CardanoWallet::Shelley::Init

Inherits:
Base
  • Object
show all
Defined in:
lib/cardano_wallet/shelley.rb

Overview

Init class for Shelley API

Examples:

@cw = CardanoWallet.new
@cw.shelley.wallets # API for Shelley wallets
@cw.shelley.assets # API for Shelley assets
@cw.shelley.coin_selections # API for Shelley coin_selections
@cw.shelley.addresses # API for Shelley addresses
@cw.shelley.transactions # API for Shelley transactions
@cw.shelley.migrations # API for Shelley migrations
@cw.shelley.stake_pools # API for Shelley stake_pools
@cw.shelley.keys # API for Shelley keys

Instance Attribute Summary

Attributes inherited from Base

#opt

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

This class inherits a constructor from CardanoWallet::Base

Instance Method Details

#addressesObject

API for Addresses



34
35
36
# File 'lib/cardano_wallet/shelley.rb', line 34

def addresses
  Addresses.new @opt
end

#assetsObject

API for Assets



70
71
72
# File 'lib/cardano_wallet/shelley.rb', line 70

def assets
  Assets.new @opt
end

#coin_selectionsObject

API for CoinSelections



40
41
42
# File 'lib/cardano_wallet/shelley.rb', line 40

def coin_selections
  CoinSelections.new @opt
end

#keysObject

API for Keys



64
65
66
# File 'lib/cardano_wallet/shelley.rb', line 64

def keys
  Keys.new @opt
end

#migrationsObject

API for Migrations



58
59
60
# File 'lib/cardano_wallet/shelley.rb', line 58

def migrations
  Migrations.new @opt
end

#stake_poolsObject

API for StakePools



52
53
54
# File 'lib/cardano_wallet/shelley.rb', line 52

def stake_pools
  StakePools.new @opt
end

#transactionsObject

API for Transactions



46
47
48
# File 'lib/cardano_wallet/shelley.rb', line 46

def transactions
  Transactions.new @opt
end

#walletsObject

Call API for Wallets



28
29
30
# File 'lib/cardano_wallet/shelley.rb', line 28

def wallets
  Wallets.new @opt
end