File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ To install Cryptomarket use gem
1010gem install cryptomarket-sdk
1111```
1212# Documentation
13-
14- [ The api documentation] ( https://api.exchange.cryptomkt.com/ )
15-
13+ This sdk makes use of the [ api version 2] ( https://api.exchange.cryptomkt.com/v2 ) of cryptomarket
1614
1715# Quick Start
1816
Original file line number Diff line number Diff line change 33require 'json'
44require 'base64'
55require 'rest-client'
6+ require_relative 'exceptions'
67
78module Cryptomarket
89 class HttpManager
Original file line number Diff line number Diff line change @@ -630,8 +630,8 @@ def rollbackWithdrawCrypto(id)
630630 # +String+ +currency+:: the currency code for withdraw
631631 # +Integer+ +amount+:: the expected withdraw amount
632632
633- def getEstimatesWithdrawFee ( currency , amount )
634- params = { currency : currency , amount : amount }
633+ def getEstimateWithdrawFee ( currency , amount )
634+ params = { amount : amount , currency : currency }
635635 return get ( 'account/crypto/estimate-withdraw' , params )
636636 end
637637
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def test_transfer_convert
4747 end
4848
4949 def test_get_estimate_withdraw_fee
50- result = @client . getEstimatesWithdrawFee "EOS" , "100"
50+ result = @client . getEstimateWithdrawFee "EOS" , "100"
5151 # puts result
5252 end
5353
You can’t perform that action at this time.
0 commit comments