Skip to content
Logo

rollup.emitReport

Emits a report — plain output data made available off-chain, not added to the outputs merkle tree. Reports cannot be proven or executed; they are free-form bytes for logs, diagnostics and inspect responses.

Usage

.(.("warn: balance below threshold"));

Returns

void — reports have no output index (they are not provable outputs).

Parameters

payload

  • Type: BytesLike — 0x-prefixed hex string, Buffer or Uint8Array
  • Required

The report contents.

Errors

ConditionError
Malformed hex string / wrong argument typeTypeError
Report larger than the machine's output bufferRollupError with negative errno