Method: MtGox::Client#address

Defined in:
lib/mtgox/client.rb

#addressString

Fetch a deposit address

Examples:

MtGox.address

Returns:

  • (String)

Requires Authentication:

  • true



36
37
38
# File 'lib/mtgox/client.rb', line 36

def address
  post('/api/1/generic/bitcoin/address')['addr']
end