Type Alias CleanUp

CleanUp: {
    amount?: bigint;
    chainId: number;
    dependsOn?: number[];
    recipientAddress: Address;
    tokenAddress: Address;
}

Parameters for a cleanup userops

Type declaration

  • Optionalamount?: bigint

    Amount of the token to use, in the token's smallest unit

    1000000n // 1 USDC (6 decimals)
    
  • chainId: number

    The chainId to use

    1 // Ethereum Mainnet
    
  • OptionaldependsOn?: number[]

    The user ops dependency for nonce injection

    [userOp(1)]
    
  • recipientAddress: Address

    The address of the receiver where the token to cleanup

    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" // EVM address
    
  • tokenAddress: Address

    The address of the token to cleanup

    "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" // USDC