Module: Minter::Api::AddressResource
- Included in:
- Client
- Defined in:
- lib/minter/api/resources/address_resource.rb
Instance Method Summary collapse
- #address(address:, height: nil) ⇒ Object (also: #balance)
Instance Method Details
#address(address:, height: nil) ⇒ Object Also known as: balance
6 7 8 9 10 11 |
# File 'lib/minter/api/resources/address_resource.rb', line 6 def address(address:, height: nil) params = { height: height }.compact path = "/address/#{address}" get(path, params) end |