Skip to main content

Add a new notice

The dApp backend can call this method to add a new notice when processing the advance-state request. A notice describes any changes to the internal state of the dApp that may be relevant to the blockchain. Between calls to the finish method, the notice method can be called up to 32k times.

The returned value is the index of the notice for the current advance request. In other words, the index counting restarts at every request.

Request Body
  • payload string
Responses

Created the notice.

Schema
  • index uint64
Loading...

© 2024 Cartesi Foundation Ltd. All rights reserved.

The Cartesi Project is commissioned by the Cartesi Foundation.

We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.