Antd.PrepareChunkResult (antd v0.4.1)

Copy Markdown View Source

Result of preparing a single-chunk external-signer publish via POST /v1/chunks/prepare.

When :already_stored is true the chunk is already on-network and no payment / finalize step is needed — :upload_id and the payment fields remain empty. Otherwise the wave-batch payment fields describe what the external signer must submit before calling finalize_chunk_upload/3.

Summary

Types

t()

@type t() :: %Antd.PrepareChunkResult{
  address: String.t(),
  already_stored: boolean(),
  payment_token_address: String.t(),
  payment_type: String.t(),
  payment_vault_address: String.t(),
  payments: [Antd.PaymentInfo.t()],
  rpc_url: String.t(),
  total_amount: String.t(),
  upload_id: String.t()
}