Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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.

treasury/v3 package

Overview

Package treasury holds funds and accounts for reservations across independent policies.

Function

GetTreasuryBalance

func GetTreasuryBalance() (int64, int64)
Ask AI Claude ChatGPT

GetTreasuryBalance returns total bank cash and the portion owed to programs.

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1aj9pzthj36aav0kff2zcmx9llapa7ng7xzcfct/shared_budget/treasury/v3.GetTreasuryBalance()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1aj9pzthj36aav0kff2zcmx9llapa7ng7xzcfct/shared_budget/treasury/v3, for example a function call with arguments.