TopBlock
TopBlock returns the notice for the realm calling in, ready to concatenate in front of its content. Empty when there is nothing to say, which is the default and the usual case.
Three things can appear, in this order, separated by blank lines:
- the pause banner, when this realm or every realm is paused
- the global block.top
- this realm's own block.top
The pause banner comes first because it is the one a reader has to see, and it is included here rather than left to the realm so that guarding writes with AssertWritable is enough to also explain the refusal on the page.
Global and scoped are BOTH shown rather than one overriding the other: a chain-wide warning and a per-realm changelog are different messages, and dropping either because the other exists is the surprising behaviour.
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/config/v1.TopBlock()"
Result