# `Antd.UploadCostEstimate`
[🔗](https://gitlab.com/autonomi/ant-sdk/-/tree/main/antd-elixir/blob/main/lib/antd/models.ex#L343)

Pre-upload cost breakdown returned by `Antd.Client.data_cost/3` and
`Antd.Client.file_cost/4`.

The server samples up to 5 chunk addresses and extrapolates the storage
cost. Gas is an advisory heuristic, not a live gas-oracle query.

# `t`

```elixir
@type t() :: %Antd.UploadCostEstimate{
  chunk_count: non_neg_integer(),
  cost: String.t(),
  estimated_gas_cost_wei: String.t(),
  file_size: non_neg_integer(),
  payment_mode: String.t()
}
```

---

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