AAFeeMode.token constructor
AAFeeMode.token(
- dynamic feeQuote,
- 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;