GetProtocolFeeAmount
GetProtocolFeeAmount returns the protocol fee amounts for a token path. Parameters:
- tokenPath: Registered token path whose protocol fees are queried.
Returns:
- int64: accumulated protocol-fee amount for tokenPath in token base units.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/staker.GetProtocolFeeAmount()"
Result