module Binance::Spot::Mining

def mining_revenue_list(algo:, userName:, **kwargs)

Other tags:
    See: https://binance-docs.github.io/apidocs/spot/en/#earnings-list-user_data -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000
  • :pageSize (Integer) --
  • :pageIndex (Integer) --
  • :endDate (Integer) --
  • :startDate (Integer) --
  • :coin (String) --

Parameters:
  • kwargs (Hash) --
  • userName (String) --
  • algo (String) --
def mining_revenue_list(algo:, userName:, **kwargs)
  Binance::Utils::Validation.require_param('algo', algo)
  Binance::Utils::Validation.require_param('userName', userName)
  @session.sign_request(:get, '/sapi/v1/mining/payment/list', params: kwargs.merge(
    algo: algo,
    userName: userName
  ))
end