daprovider_commitChunkedStore
Assembles the chunks received for the given message ID, stores the message and returns the serialized data availability certificate.
Source: nitro v3.12.2 daprovider/server/provider_server.go:264
Generated from Nitro v3.12.2.
$DA_SERVER_URL$DA_SERVER_URL is the URL of your data availability server.
Params
Result
Prop
Type
{ "jsonrpc": "2.0", "id": 1, "result": { "serialized-da-cert": "0x00" }}Go definition
// nitro v3.12.2 daprovider/server/provider_server.go:264func (s *WriterServer) CommitChunkedStore(ctx context.Context, messageId hexutil.Uint64, sig hexutil.Bytes) (*server_api.StoreResult, error)// nitro v3.12.2 daprovider/server_api/types.go:21type StoreResult struct { SerializedDACert hexutil.Bytes `json:"serialized-da-cert,omitempty"`}curl -X POST $DA_SERVER_URL \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "daprovider_commitChunkedStore", "params": [ "0x1", "<signature, hex>" ]}'How is this guide?
daprovider_sendChunk
Adds the chunk with the given chunk ID to the chunked store opened for the given message ID. Returns null.
das_startChunkedStore
Opens a chunked store of a message of totalSize bytes, sent as nChunks chunks of chunkSize bytes, and returns the message ID to pass to das_sendChunk and das_commitChunkedStore. Requests that are too old or replayed are rejected.