Antd.FilePutResult (antd v0.4.1)

Copy Markdown View Source

Result of a private file upload.

The DataMap is returned to the caller; it is NOT stored on-network. :sha256 is the plaintext's SHA-256 (lowercase hex), or nil on a daemon older than antd 0.17.0.

Summary

Types

t()

@type t() :: %Antd.FilePutResult{
  chunks_stored: non_neg_integer(),
  data_map: String.t(),
  gas_cost_wei: String.t(),
  payment_mode_used: String.t(),
  sha256: String.t() | nil,
  storage_cost_atto: String.t()
}