module Binance::Spot::Blvt

def redeem(tokenName:, amount:, **kwargs)

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

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

Parameters:
  • kwargs (Hash) --
  • amount (Float) --
  • tokenName (String) --
def redeem(tokenName:, amount:, **kwargs)
  Binance::Utils::Validation.require_param('tokenName', tokenName)
  Binance::Utils::Validation.require_param('amount', amount)
  @session.sign_request(:post, '/sapi/v1/blvt/redeem', params: kwargs.merge(
    tokenName: tokenName,
    amount: amount
  ))
end