Type alias SponsorUserOperationDto

SponsorUserOperationDto: {
    calculateGasLimits?: boolean;
    expiryDuration?: number;
    feeTokenAddress?: string;
    mode: PaymasterMode;
    smartAccountInfo?: SmartAccountData;
    webhookData?: Record<string, any>;
}

Type declaration

  • Optional calculateGasLimits?: boolean

    Always recommended, especially when using token paymaster

  • Optional expiryDuration?: number

    Expiry duration in seconds

  • Optional feeTokenAddress?: string

    the fee-paying token address

  • mode: PaymasterMode

    mode: sponsored or erc20

  • Optional smartAccountInfo?: SmartAccountData

    Smart account meta data

  • Optional webhookData?: Record<string, any>

    Webhooks to be fired after user op is sent