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

Fee information attached to trades and orders.

Represents exchange fees with currency denomination, absolute cost,
and rate (as a decimal fraction).

## Fields

  * `currency` - Fee currency (e.g., "USDT", "BTC")
  * `cost` - Absolute fee amount
  * `rate` - Fee rate as decimal (e.g., 0.001 for 0.1%)

# `t`

```elixir
@type t() :: %CCXT.Fee{
  cost: number() | nil,
  currency: String.t() | nil,
  rate: number() | nil
}
```

# `schema`

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

JSON Schema for the Fee unified type.

---

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