Module: Bitcointerminal::V1::CryptoAddresses

Defined in:
lib/bitcointerminal/v1/crypto_addresses.rb

Instance Method Summary collapse

Instance Method Details

#post_crypto_address(currency = 'btc') ⇒ Object



4
5
6
7
8
# File 'lib/bitcointerminal/v1/crypto_addresses.rb', line 4

def post_crypto_address(currency='btc')
  params = {currency: currency}
  s = authenticated_post('/v1/crypto_addresses', params: params)
  JSON.parse(s,:symbolize_names => true)
end