PostCount
Ask AI
PostCount returns the number of published posts.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/daily/blog/v0.PostCount()"
Result
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package blog is a multi-author on-chain blog realm for gno.land.
Any caller can Publish a post; posts are stored persistently and rendered newest-first. Each post records its author (the calling address) and the block height at which it was published.
PostCount returns the number of published posts.
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/daily/blog/v0.PostCount()"