das_commitChunkedStore

Request an update

Assembles the chunks received for the given message ID, stores the message and returns the signed .

Source: nitro v3.12.2 daprovider/anytrust/rpc_server.go:205

Generated from Nitro v3.12.2.

$DA_SERVER_URL

$DA_SERVER_URL is the URL of your data availability server.

Params

  1. [0] messageId Quantity requiredMessage ID returned by the start call.
  2. [1] sig Bytes requiredSignature of the request.

Result

Prop

Type

{  "jsonrpc": "2.0",  "id": 1,  "result": {    "dataHash": "0x00",    "timeout": "0x00",    "signersMask": "0x00",    "keysetHash": "0x00",    "sig": "0x00",    "version": "0x00"  }}

Go definition

// nitro v3.12.2 daprovider/anytrust/rpc_server.go:205func (s *RPCServer) CommitChunkedStore(ctx context.Context, messageId hexutil.Uint64, sig hexutil.Bytes) (*StoreResult, error)// nitro v3.12.2 daprovider/anytrust/rpc_server.go:117type StoreResult struct {	DataHash    hexutil.Bytes  `json:"dataHash,omitempty"`	Timeout     hexutil.Uint64 `json:"timeout,omitempty"`	SignersMask hexutil.Uint64 `json:"signersMask,omitempty"`	KeysetHash  hexutil.Bytes  `json:"keysetHash,omitempty"`	Sig         hexutil.Bytes  `json:"sig,omitempty"`	Version     hexutil.Uint64 `json:"version,omitempty"`}
curl -X POST $DA_SERVER_URL \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "das_commitChunkedStore",  "params": [    "0x1",    "<signature, hex>"  ]}'

How is this guide?