# `CCXT.Currency`
[🔗](https://github.com/ZenHive/ccxt_client/blob/main/lib/ccxt/currency.ex#L1)

Unified currency data.

Describes a currency or token supported by an exchange, including
deposit/withdraw capabilities and network information.

## Fields

  * `id` - Exchange-specific currency ID
  * `code` - Unified currency code (e.g., "BTC")
  * `name` - Full currency name
  * `numeric_id` - Numeric ID (some exchanges)
  * `precision` - Decimal precision
  * `type` - "crypto" or "fiat"
  * `active` - Whether trading/deposit/withdraw is enabled
  * `deposit` - Whether deposits are enabled
  * `withdraw` - Whether withdrawals are enabled
  * `fee` - Default withdrawal fee
  * `margin` - Whether margin trading is available
  * `networks` - Network-specific deposit/withdraw info
  * `info` - Raw exchange response

# `t`

```elixir
@type t() :: %CCXT.Currency{
  active: boolean() | nil,
  code: String.t() | nil,
  deposit: boolean() | nil,
  fee: number() | nil,
  id: String.t() | nil,
  info: map() | nil,
  margin: boolean() | nil,
  name: String.t() | nil,
  networks: map(),
  numeric_id: integer() | nil,
  precision: number() | nil,
  type: String.t() | nil,
  withdraw: boolean() | nil
}
```

# `schema`

```elixir
@spec schema() :: map()
```

JSON Schema for the Currency unified type.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
