Antd.FilePutPublicResult (antd v0.4.1)

Copy Markdown View Source

Result of a public file upload.

The DataMap is stored on-network as an additional chunk; :address is the shareable retrieval handle. :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.FilePutPublicResult{
  address: String.t(),
  chunks_stored: non_neg_integer(),
  gas_cost_wei: String.t(),
  payment_mode_used: String.t(),
  sha256: String.t() | nil,
  storage_cost_atto: String.t()
}