Class: Coinbase::Fees

Inherits:
Client
  • Object
show all
Defined in:
lib/coinbase/fees.rb

Overview

List Fees

Constant Summary collapse

FEE_API =
'/fees'

Instance Method Summary collapse

Methods inherited from Client

configuration, configure, #delete, #get, #headers, #http_request, #initialize, #post, #put, #signature

Methods included from Util

#base_uri, #build_query_params, #format_response, #pagination_params, #send_request

Constructor Details

This class inherits a constructor from Coinbase::Client

Instance Method Details

#listHash

Get the current fees.

maker & taker rates and trailing volume.

Returns:

  • (Hash)

    a hash with status code and fees details with current



13
14
15
# File 'lib/coinbase/fees.rb', line 13

def list
  format_response(get(FEE_API))
end