ExKucoin.User.Account (ExKucoin v0.0.5) View Source

User's Accounts client.

Link to this section Summary

Link to this section Functions

Link to this function

all(params \\ %{}, config \\ nil)

View Source

Get a list of accounts.

Refer to params listed in API docs

Examples

iex> ExKucoin.User.Account.all()
{:ok, [%{
    "id" => "5bd6e9286d99522a52e458de",
    "currency" => "BTC",
    "type" => "main",
    "balance" => "237582.04299",
    "available" => "237582.032",
    "holds" => "0.01099"
},
%{
    "id" => "5bd6e9216d99522a52e458d6",
    "currency" => "BTC",
    "type" => "trade",
    "balance" => "1234356",
    "available" => "1234356",
    "holds" => "0"
}]}