Antd.DataPutResult (antd v0.4.1)

Copy Markdown View Source

Result of a private data put.

The DataMap is returned to the caller; it is NOT stored on-network. The REST transport populates :chunks_stored and :payment_mode_used; the gRPC transport currently leaves them empty because proto PutDataResponse only carries data_map.

:sha256 is the plaintext's SHA-256 (lowercase hex) on both transports, or nil on a daemon older than antd 0.17.0.

Summary

Types

t()

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