StackerDB

Write StackerDB chunk

Changed on

Write a chunk of data to a StackerDB instance.

The request body should contain a JSON object with the chunk data including slot_id, slot_version, signature, and hex-encoded data.

The response indicates whether the chunk was accepted, and if not, provides detailed error information. Note that failed writes return HTTP 200 with accepted: false, not HTTP error codes.

post/v2/stackerdb/{principal}/{contract_name}/chunks

Request

  • Base URL
    http://localhost:20443
  • URL
    http://localhost:20443/v2/stackerdb/{principal}/{contract_name}/chunks
  • Auth
    none required

Parameters

./components/parameters/standard-principal.yaml (unresolved $ref)
./components/parameters/contract-name.yaml (unresolved $ref)

Request body

StackerDbChunkData required(unresolved $ref)

Response

Chunk submission result (both success and failure cases)

StackerDbChunkAckData required(unresolved $ref)

Changes