AAFeeMode.token constructor

AAFeeMode.token(
  1. dynamic feeQuote,
  2. String? tokenPaymasterAddress
)

select token for fee specify feeQuote and tokenPaymasterAddress, that you can get from particle_aa rpcGetFeeQuotes, to send a user paid transaction, use token as gas fee.

Implementation

AAFeeMode.token(this.feeQuote, this.tokenPaymasterAddress)
    : option = 'token',
      wholeFeeQuote = null;