module Binance::Spot::Mining

def mining_resale_cancel(configId:, userName:, **kwargs)

Other tags:
    See: https://developers.binance.com/docs/mining/rest-api/Cancel-hashrate-resale-configuration -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000

Parameters:
  • kwargs (Hash) --
  • userName (String) -- Mining Account
  • configId (String) -- Mining ID
def mining_resale_cancel(configId:, userName:, **kwargs)
  Binance::Utils::Validation.require_param('userName', userName)
  Binance::Utils::Validation.require_param('configId', configId)
  @session.sign_request(:post, '/sapi/v1/mining/hash-transfer/config/cancel', params: kwargs.merge(
    configId: configId,
    userName: userName
  ))
end