Module: Bitfinex::RESTv1Deposit
- Included in:
- RESTv1
- Defined in:
- lib/rest/v1/deposit.rb
Instance Method Summary collapse
-
#deposit(method, wallet_name, renew = 0) ⇒ Hash
Return your deposit address to make a new deposit.
Instance Method Details
#deposit(method, wallet_name, renew = 0) ⇒ Hash
Return your deposit address to make a new deposit.
@example:
client.deposit("bitcoin", "exchange")
12 13 14 15 16 17 18 19 20 |
# File 'lib/rest/v1/deposit.rb', line 12 def deposit (method, wallet_name, renew=0) params = { method: method, wallet_name: wallet_name, renew: renew } authenticated_post("deposit/new", params: params).body end |