Modules
Elixir SDK for the antd daemon — the gateway to the Autonomi decentralized network.
Resource already exists (HTTP 409).
Base error for all antd errors.
Invalid request parameters (HTTP 400).
The result of build_manifest.
A candidate node within a merkle payment pool.
REST client for the antd daemon.
Too few of an address's close group answered, or took a write, for the
result to be the network's (HTTP 503 with code: "CLOSE_GROUP_SHORTFALL";
gRPC UNAVAILABLE tagged x-antd-error-code: CLOSE_GROUP_SHORTFALL).
The request conflicts with the resource's current state (HTTP 409 with
code: "CONFLICT"; gRPC ABORTED tagged x-antd-error-code: CONFLICT).
Result of a public data put.
Result of a private data put.
The result of decode_manifest and decode_manifest_link.
Auto-discovers the antd daemon by reading the daemon.port file that antd
writes on startup.
One frame of a progress-enabled streaming download: the total size, a
plaintext data chunk, or a Antd.DownloadProgress update. At most one of
:meta, :data, or :progress is set. Yielded by the *_with_progress
streaming methods; the plain data_stream methods stay a pure binary stream
for callers that don't need progress.
A fetch-progress update emitted during a streaming download when progress is
requested. Counts are in chunks, not bytes — the byte denominator is the
download's total size (the x-content-length header over gRPC, the leading
NDJSON meta frame over REST). total is 0 while still unknown (mid
DataMap-resolution).
Result of a public file upload.
Result of a private file upload.
Result of finalizing an externally-signed upload.
Version conflict or fork detected (HTTP 409).
gRPC client for the antd daemon.
Result of a health check.
Internal server error (HTTP 500).
What a manifest says about one entry.
One file for Antd.Client.build_manifest/3 and
Antd.GrpcClient.build_manifest/3.
Daemon cannot reach the network (HTTP 502).
Resource not found on the network (HTTP 404).
An upload stored some chunks while others stayed unstored after the
daemon's retries (HTTP 502 with code: "PARTIAL_UPLOAD"; gRPC ABORTED
whose message starts with Partial upload:). The external-signer finalize
functions return it, and so can daemon-wallet uploads (data_put,
file_put and their _public variants): every REST and gRPC call shares
one error mapping.
Insufficient funds or payment failure (HTTP 402).
A single payment required for an upload.
Payment-batching strategy for uploads.
Whose pointer decides what an address resolves to, after following every
transfer (pointer_controller). transfers lists every pointer the
address was handed over to, in order. frozen is true when pointer is
final without being handed over: nobody can move it.
The pointer is at its final state: it was handed over (transferred) or
frozen, so nothing can update it or hand it over again (HTTP 409 with
code: "POINTER_FINAL"; gRPC FAILED_PRECONDITION tagged
x-antd-error-code: POINTER_FINAL). Usually refused before anything is
paid: the daemon reads the pointer first. A write that was already paid for
when the network refused it (the pointer became final while the write was in
flight) keeps that payment, so read the pointer before paying again.
One final state, as a finality check reports it. holders is how many
peers of the close group hold it; transferred_to is the pointer the state
hands over to, or nil.
The whole close group's view of where a pointer stands
(pointer_finality). Check it before relying on a transfer: only
status: :final means it is beyond dispute.
The state a pointer_finalize stored. finality is set for a transfer.
What a pointer write points at: the :kind option of pointer_create,
pointer_update and a pointer_prepare create or update.
The write a pointer_prepare signs and quotes for an external signer
A pointer write signed with the daemon's loaded owner key, and the
wave-batch payment for it (pointer_prepare). Pay payments with
payForQuotes(), then call pointer_finalize with upload_id.
A pointer's current state, as the network serves it (pointer_get).
Where a chain of pointers ends (pointer_resolve): the target address,
its kind string and the raw kind_tag.
What a transfer stored, and where the close group says it stands
(pointer_transfer). finality is nil when that check failed, and
finality_error says why; the transfer itself is stored and final either
way. Ask again with pointer_finality.
The state a pointer write stored (pointer_create / pointer_update).
state_id is the hex identifier the state was paid against; counter is
its counter, an integer parsed from the daemon's decimal string.
A pool commitment containing candidate nodes for merkle batch payment.
Result of preparing a single-chunk external-signer publish via
POST /v1/chunks/prepare.
Result of preparing an upload for external signing.
Result of a single-chunk put (used by Antd.Client.chunk_put/2).
Service unavailable, e.g. wallet not configured (HTTP 503).
One payments quote in full signed form, returned by a prepare called with
include_signed_quotes: true. quote and commitment_sidecar are opaque
base64 blobs (the msgpack-serialized signed PaymentQuote, and the
StorageCommitment it pins); only antd parses them. commitment_sidecar
is nil for baseline quotes. Over gRPC the raw bytes are base64-encoded,
so both transports give the same values.
Payload too large (HTTP 413).
Pre-upload cost breakdown returned by Antd.Client.data_cost/3 and
Antd.Client.file_cost/4.
Wallet address result.
Wallet balance result.