GetProtocolFeeAccumulatedX128PerStake
GetProtocolFeeAccumulatedX128PerStake returns the accumulated protocol fee per stake (Q128) for a token path. Parameters:
- tokenPath: Registered token path whose protocol-fee accumulator is queried.
Returns:
- *u256.Uint: accumulated protocol-fee amount per unit stake in Q128 fixed-point form.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/staker.GetProtocolFeeAccumulatedX128PerStake()"
Result