Module: Minter::Api::CoinResource

Included in:
Client
Defined in:
lib/minter/api/resources/coin_resource.rb

Instance Method Summary collapse

Instance Method Details

#coin_info(symbol:, height:) ⇒ Object



6
7
8
9
10
# File 'lib/minter/api/resources/coin_resource.rb', line 6

def coin_info(symbol:, height:)
  params = { height: height }
  path = "/coin_info/#{symbol}"
  get(path, params)
end