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.
Summary
Types
@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() }