Antd.FinalizeUploadResult (antd v0.4.1)

Copy Markdown View Source

Result of finalizing an externally-signed upload.

:data_map is the hex-encoded serialized DataMap (always returned by the daemon on success). :data_map_address is populated only when prepare was called with visibility: "public" — the DataMap chunk was bundled into the same external-signer payment batch and stored on-network, and this 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.FinalizeUploadResult{
  address: String.t(),
  chunks_stored: integer(),
  data_map: String.t(),
  data_map_address: String.t(),
  sha256: String.t() | nil
}