Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

blog/v1 package

Overview

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.

Function

PostCount

func PostCount() int
Ask AI Claude ChatGPT

PostCount returns the number of published posts.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/blog/v1.PostCount()"

Result