Transfer
Transfer forwards a token transfer to the implementation bound to the current realm.
Parameters:
- _: leading integer discriminator for the realm-crossing ABI; pass 0.
- rlm: propagated realm context used to resolve and invoke the registered token implementation.
- tokenKey: registry key identifying the GRC20 token to transfer.
- to: recipient address.
- amount: number of token base units to transfer.
Returns:
- error: nil when the implementation completes the transfer; otherwise a token validation or transfer-rule error.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/common.Transfer(,,,,)"
Result