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.

agentwallet package

Overview

Package agentwallet is a spend-limited wallet bound to an Agent ID.

The owner funds it and sets the policy. A different address, the agent, is the only caller that can move those funds. Swap, exchange, liquidity, and stake stay inside this realm. They are not a public exchange.

Function

Free

func Free(owner address) int64
Ask AI Claude ChatGPT

Free returns the spendable ugnot inside the owner's agent wallet.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1y0n2geu0rmdrm9u30c5fmk3ykkl2enw9n9yr2k/agentwallet.Free()"

Result