Type alias FeeQuotesOrDataDto

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

Type declaration

  • Optional calculateGasLimits?: boolean

    Always recommended, especially when using token paymaster

  • Optional expiryDuration?: number

    Expiry duration in seconds

  • Optional mode?: PaymasterMode

    mode: sponsored or erc20

  • Optional preferredToken?: string

    preferredToken: Can be ommitted to return all quotes

  • Optional smartAccountInfo?: SmartAccountData

    Smart account meta data

  • Optional tokenList?: string[]

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

  • Optional webhookData?: Record<string, any>

    Webhooks to be fired after user op is sent