# File lib/cryptoprocessing/client/coinbase_wallet.rb, line 10 def primary_account end
module Cryptoprocessing::Client::CoinbaseWallet
Mimic Coinbase Wallet Client
Public Instance Methods
accounts()
click to toggle source
# File lib/cryptoprocessing/client/coinbase_wallet.rb, line 40 def accounts [] end
address_transactions(account_uid, address_uid, params = {})
click to toggle source
# File lib/cryptoprocessing/client/coinbase_wallet.rb, line 24 def address_transactions(account_uid, address_uid, params = {}) list_transactions = [] @client.address_transactions(account_uid, address_uid) do |data, resp| data.each do |tx| if tx['confirmations_count'] > 3 && tx['type'] == 'send' list_transactions.append(tx) end end end list_transactions end
primary_account()
click to toggle source