FeeQuotesOrDataDto: {
    calculateGasLimits?: boolean;
    expiryDuration?: number;
    mode?: PaymasterMode;
    preferredToken?: string;
    smartAccountInfo?: SmartAccountData;
    tokenList?: string[];
    webhookData?: Record<string, any>;
}

Type declaration

  • OptionalcalculateGasLimits?: boolean

    Always recommended, especially when using token paymaster

  • OptionalexpiryDuration?: number

    Expiry duration in seconds

  • Optionalmode?: PaymasterMode

    mode: sponsored or erc20

  • OptionalpreferredToken?: string

    preferredToken: Can be ommitted to return all quotes

  • OptionalsmartAccountInfo?: SmartAccountData

    Smart account meta data

  • OptionaltokenList?: string[]

    List of tokens to be used for fee quotes, if ommitted fees for all supported will be returned

  • OptionalwebhookData?: Record<string, any>

    Webhooks to be fired after user op is sent