daprovider_store
Stores the message until the given timeout and returns the serialized data availability certificate.
Source: nitro v3.12.2 daprovider/server/provider_server.go:275
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:275func (s *WriterServer) Store(ctx context.Context, message hexutil.Bytes, timeout hexutil.Uint64) (*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_store", "params": [ "<message bytes, hex>", "0x67400000" ]}'How is this guide?
eth_sendRawTransactionConditional
Submits a signed raw transaction that the sequencer includes only if the given options hold: the parent chain block number and the block timestamp ranges, and the storage of the known accounts. Returns the transaction hash.
daprovider_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 daprovider_sendChunk and daprovider_commitChunkedStore.