Class: Fcoin::EndPoint::AccountsTask

Inherits:
Thor
  • Object
show all
Defined in:
lib/fcoin/cli/endpoint/accounts_task.rb

Instance Method Summary collapse

Instance Method Details

#balanceJSON

Note:

This method can not be invoked without authentication.

Get account info.

curl: GET api.fcoin.com/v2/accounts/balance

Examples:

get account info

export FCOIN_API_KEY='your_fcoin_api_key'
export FCOIN_SECRET_KEY='your_fcoin_secret_key'
./bin/fcoin accounts balance

Returns:

  • (JSON)

See Also:



21
# File 'lib/fcoin/cli/endpoint/accounts_task.rb', line 21

desc 'balance', 'Get account info'