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

grc20reg/v0 package

Function

Transfer

func Transfer(_ int, rlm realm, tokenKey string, to address, amount int64)
Ask AI Claude ChatGPT

Transfer moves `amount` out of the CALLING REALM's own balance.

Call it non-crossing, forwarding your own `cur`:

Example
1grc20reg.Transfer(0, cur, "gno.land/r/demo/defi/foo20.FOO", to, 100)

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nt/grc20reg/v0.Transfer(,,,,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/nt/grc20reg/v0, for example a function call with arguments.