class CardanoWallet::Byron::Assets
Public Instance Methods
get(wid, policy_id = nil, asset_name = nil)
click to toggle source
@see input-output-hk.github.io/cardano-wallet/api/edge/#operation/listByronAssets @see input-output-hk.github.io/cardano-wallet/api/edge/#operation/getByronAsset @see input-output-hk.github.io/cardano-wallet/api/edge/#operation/getByronAssetDefault
# File lib/cardano_wallet/byron.rb, line 57 def get(wid, policy_id = nil, asset_name = nil) ep = "/byron-wallets/#{wid}/assets" ep += "/#{policy_id}" if policy_id ep += "/#{asset_name}" if asset_name self.class.get(ep) end