das_sendChunk
Adds the chunk with the given chunk ID to the chunked store opened for the given message ID. Returns null.
Source: nitro v3.12.2 daprovider/anytrust/rpc_server.go:187
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": null}Go definition
// nitro v3.12.2 daprovider/anytrust/rpc_server.go:187func (s *RPCServer) SendChunk(ctx context.Context, messageId, chunkId hexutil.Uint64, chunk hexutil.Bytes, sig hexutil.Bytes) errorcurl -X POST $DA_SERVER_URL \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "das_sendChunk", "params": [ "0x1", "0x0", "<chunk bytes, hex>", "<signature, hex>" ]}'How is this guide?
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.
das_commitChunkedStore
Assembles the chunks received for the given message ID, stores the message and returns the signed data availability certificate.