GetBalanceToken1
GetBalanceToken1 returns the balance of token1 in the pool. Parameters:
- poolPath: Canonical pool path identifying the pool to query.
Returns:
- int64: Current token1 balance held by the pool, in token base units.
- error: Non-nil when poolPath does not identify an existing pool.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/pool.GetBalanceToken1()"
Result