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/v4 package

Overview

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

Function

GetTreasuryAssetBalance

func GetTreasuryAssetBalance(asset string) (int64, int64)
Ask AI Claude ChatGPT

GetTreasuryAssetBalance returns physical custody and outstanding claims and allocations.

Param

Command

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

Result

Gno Expression Evaluator

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