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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

markets package

Overview

Package markets keeps collateral, positions and winning payouts on Gno. It does not discover external outcomes: each market trusts its pinned oracle.

Function

PositionsJSON

func PositionsJSON(owner address) string
Ask AI Claude ChatGPT

PositionsJSON returns the owner's positions across all markets, in market creation order. Markets where the owner never bought are omitted.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-sixseven067/markets.PositionsJSON()"

Result