AAFeeMode.native constructor

AAFeeMode.native(
  1. dynamic wholeFeeQuote
)

select native for fee There are two use cases. pass null as wholeFeeQuote, to send a user paid transaction, use native as gas fee. specify wholeFeeQuote, that you can get from particle_aa rpcGetFeeQuotes, to send a user paid transaction, use native as gas fee.

Implementation

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